Moved Dimensions type to GaussianFactor as only used in linear inference.
parent
9aea4530aa
commit
dc120298e5
|
@ -18,9 +18,6 @@
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
/** A map from key to dimension, useful in various contexts */
|
|
||||||
typedef SymbolMap<int> Dimensions;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple factor class to use in a factor graph.
|
* A simple factor class to use in a factor graph.
|
||||||
*
|
*
|
||||||
|
|
|
@ -28,6 +28,9 @@ namespace gtsam {
|
||||||
|
|
||||||
class Ordering;
|
class Ordering;
|
||||||
|
|
||||||
|
/** A map from key to dimension, useful in various contexts */
|
||||||
|
typedef SymbolMap<int> Dimensions;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base Class for a linear factor.
|
* Base Class for a linear factor.
|
||||||
* GaussianFactor is non-mutable (all methods const!).
|
* GaussianFactor is non-mutable (all methods const!).
|
||||||
|
@ -164,7 +167,6 @@ public:
|
||||||
return (++(As_.begin()))->first;
|
return (++(As_.begin()))->first;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Find all variables and their dimensions
|
* Find all variables and their dimensions
|
||||||
* @return The set of all variable/dimension pairs
|
* @return The set of all variable/dimension pairs
|
||||||
|
|
Loading…
Reference in New Issue