156 const boost::optional<
FastList<Key> >& noRelinKeys = boost::none,
157 const boost::optional<
FastList<Key> >& extraReelimKeys = boost::none,
158 bool force_relinearize =
false);
199 void marginalizeLeaves(
201 boost::optional<FactorIndices&> marginalFactorsIndices = boost::none,
202 boost::optional<FactorIndices&> deletedFactorsIndices = boost::none);
215 Values calculateEstimate()
const;
223 template <
class VALUE>
240 Matrix marginalCovariance(
Key key)
const;
248 Values calculateBestEstimate()
const;
258 return nonlinearFactors_;
270 void printStats()
const { getCliqueData().getStats().print(); }
309 void addVariables(
const Values& newTheta,
315 void removeVariables(
const KeySet& unusedKeys);
317 void updateDelta(
bool forceFullSolve =
false)
const;
boost::shared_ptr< Clique > sharedClique
Shared pointer to a clique.
Factor Graph consisting of non-linear factors.
Specialized iSAM2 Clique.
FastVector< FactorIndex > FactorIndices
Define collection types:
VariableIndex variableIndex_
bool valueExists(Key key) const
Check whether variable with given key exists in linearization point.
NonlinearFactorGraph nonlinearFactors_
const ValueType at(Key j) const
Class that stores detailed iSAM2 result.
boost::optional< double > doglegDelta_
GaussianFactorGraph linearFactors_
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Base::sharedClique sharedClique
Shared pointer to a clique.
static SmartStereoProjectionParams params
const ISAM2Params & params() const
KeySet deltaReplacedMask_
std::vector< float > Values
Class that stores extra params for ISAM2::update()
const KeySet & getFixedVariables() const
VALUE calculateEstimate(Key key) const
VectorValues deltaNewton_
const NonlinearFactorGraph & getFactorsUnsafe() const
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
const VariableIndex & getVariableIndex() const
Gaussian Bayes Tree, the result of eliminating a GaussianJunctionTree.
std::uint64_t Key
Integer nonlinear key type.
const Values & getLinearizationPoint() const
Access the current linearization point.