Moved Dimensions type to GaussianFactor as only used in linear inference.

release/4.3a0
Frank Dellaert 2010-07-13 04:07:05 +00:00
parent 9aea4530aa
commit dc120298e5
2 changed files with 3 additions and 4 deletions

View File

@ -18,9 +18,6 @@
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.
*

View File

@ -28,6 +28,9 @@ namespace gtsam {
class Ordering;
/** A map from key to dimension, useful in various contexts */
typedef SymbolMap<int> Dimensions;
/**
* Base Class for a linear factor.
* GaussianFactor is non-mutable (all methods const!).
@ -164,7 +167,6 @@ public:
return (++(As_.begin()))->first;
}
/**
* Find all variables and their dimensions
* @return The set of all variable/dimension pairs