Added number of factors recalculated to ISAM2Result
parent
67e36febf2
commit
2c53a58c9f
|
|
@ -382,6 +382,7 @@ boost::shared_ptr<FastSet<Index> > ISAM2::recalculate(const FastSet<Index>& mark
|
|||
gttoc(insert);
|
||||
|
||||
result.variablesReeliminated = affectedKeysSet->size();
|
||||
result.factorsRecalculated = nonlinearFactors_.size();
|
||||
|
||||
lastAffectedMarkedCount = markedKeys.size();
|
||||
lastAffectedVariableCount = affectedKeysSet->size();
|
||||
|
|
@ -419,6 +420,7 @@ boost::shared_ptr<FastSet<Index> > ISAM2::recalculate(const FastSet<Index>& mark
|
|||
}
|
||||
|
||||
result.variablesReeliminated = affectedAndNewKeys.size();
|
||||
result.factorsRecalculated = factors.size();
|
||||
lastAffectedMarkedCount = markedKeys.size();
|
||||
lastAffectedVariableCount = affectedKeys.size();
|
||||
lastAffectedFactorCount = factors.size();
|
||||
|
|
|
|||
|
|
@ -285,6 +285,9 @@ struct GTSAM_EXPORT ISAM2Result {
|
|||
*/
|
||||
size_t variablesReeliminated;
|
||||
|
||||
/** The number of factors that were included in reelimination of the Bayes' tree. */
|
||||
size_t factorsRecalculated;
|
||||
|
||||
/** The number of cliques in the Bayes' Tree */
|
||||
size_t cliques;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue