30 #include <boost/variant.hpp> 111 bool isRelinearizeInvolved;
126 : isReeliminated(false),
127 isAboveRelinThreshold(false),
128 isRelinearizeInvolved(false),
129 isRelinearized(false),
132 inRootClique(false) {}
144 void print(
const std::string str =
"")
const {
146 cout << str <<
" Reelimintated: " << variablesReeliminated
147 <<
" Relinearized: " << variablesRelinearized
148 <<
" Cliques: " << cliques << std::endl;
153 size_t getVariablesReeliminated()
const {
return variablesReeliminated; }
154 size_t getCliques()
const {
return cliques; }
boost::optional< double > errorBefore
The nonlinear error of all of the factors, including new factors and variables added during the curre...
Definition: ISAM2Result.h:54
size_t getVariablesRelinearized() const
Getters and Setters.
Definition: ISAM2Result.h:152
void print(const Matrix &A, const string &s, ostream &stream)
print without optional string, must specify cout yourself
Definition: Matrix.cpp:141
Gaussian Bayes Tree, the result of eliminating a GaussianJunctionTree.
size_t factorsRecalculated
The number of factors that were included in reelimination of the Bayes' tree.
Definition: ISAM2Result.h:88
The status of a single variable, this struct is stored in DetailedResults::variableStatus.
Definition: ISAM2Result.h:105
boost::optional< double > errorAfter
The nonlinear error of all of the factors computed after the current update, meaning that variables a...
Definition: ISAM2Result.h:66
bool isAboveRelinThreshold
Whether the variable was just relinearized due to being above the relinearization threshold.
Definition: ISAM2Result.h:110
FactorIndices newFactorsIndices
The indices of the newly-added factors, in 1-to-1 correspondence with the factors passed as newFactor...
Definition: ISAM2Result.h:97
Nonlinear factor graph optimizer using Powell's Dogleg algorithm (detail implementation)
size_t variablesReeliminated
The number of variables that were reeliminated as parts of the Bayes' Tree were recalculated,...
Definition: ISAM2Result.h:84
Factor Graph Constsiting of non-linear factors.
A struct holding detailed results, which must be enabled with ISAM2Params::enableDetailedResults.
Definition: ISAM2Result.h:102
bool inRootClique
Whether the variable is in the root clique.
Definition: ISAM2Result.h:124
size_t cliques
The number of cliques in the Bayes' Tree.
Definition: ISAM2Result.h:91
Definition: ISAM2Result.h:41
bool isReeliminated
Whether the variable was just reeliminated, due to being relinearized, observed, new,...
Definition: ISAM2Result.h:109
FastVector< FactorIndex > FactorIndices
Define collection types:
Definition: Factor.h:32
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
size_t variablesRelinearized
The number of variables that were relinearized because their linear deltas exceeded the reslinearizat...
Definition: ISAM2Result.h:76
FastMap< Key, VariableStatus > variableStatus
The status of each variable during this update, see VariableStatus.
Definition: ISAM2Result.h:137
boost::optional< DetailedResults > detail
Detailed results, if enabled by ISAM2Params::enableDetailedResults.
Definition: ISAM2Result.h:142