using rather than typedef
parent
3b51bae5c1
commit
a9e955d56e
|
@ -97,11 +97,11 @@ class GTSAM_EXPORT ISAM2 : public BayesTree<ISAM2Clique> {
|
||||||
///< periodic relinearization
|
///< periodic relinearization
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef ISAM2 This; ///< This class
|
using This = ISAM2; ///< This class
|
||||||
typedef BayesTree<ISAM2Clique> Base; ///< The BayesTree base class
|
using Base = BayesTree<ISAM2Clique>; ///< The BayesTree base class
|
||||||
typedef Base::Clique Clique; ///< A clique
|
using Clique = Base::Clique; ///< A clique
|
||||||
typedef Base::sharedClique sharedClique; ///< Shared pointer to a clique
|
using sharedClique = Base::sharedClique; ///< Shared pointer to a clique
|
||||||
typedef Base::Cliques Cliques; ///< List of Clique typedef from base class
|
using Cliques = Base::Cliques; ///< List of Cliques
|
||||||
|
|
||||||
/** Create an empty ISAM2 instance */
|
/** Create an empty ISAM2 instance */
|
||||||
explicit ISAM2(const ISAM2Params& params);
|
explicit ISAM2(const ISAM2Params& params);
|
||||||
|
|
|
@ -110,7 +110,8 @@ struct GTSAM_EXPORT ISAM2Result {
|
||||||
/** All keys that were marked during the update process. */
|
/** All keys that were marked during the update process. */
|
||||||
KeySet markedKeys;
|
KeySet markedKeys;
|
||||||
|
|
||||||
/** A struct holding detailed results, which must be enabled with
|
/**
|
||||||
|
* A struct holding detailed results, which must be enabled with
|
||||||
* ISAM2Params::enableDetailedResults.
|
* ISAM2Params::enableDetailedResults.
|
||||||
*/
|
*/
|
||||||
struct DetailedResults {
|
struct DetailedResults {
|
||||||
|
@ -146,7 +147,7 @@ struct GTSAM_EXPORT ISAM2Result {
|
||||||
inRootClique(false) {}
|
inRootClique(false) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef FastMap<Key, VariableStatus> StatusMap;
|
using StatusMap = FastMap<Key, VariableStatus>;
|
||||||
|
|
||||||
/// The status of each variable during this update, see VariableStatus.
|
/// The status of each variable during this update, see VariableStatus.
|
||||||
StatusMap variableStatus;
|
StatusMap variableStatus;
|
||||||
|
|
Loading…
Reference in New Issue