Go to the documentation of this file.
156 const std::optional<FastList<Key> >& noRelinKeys = {},
157 const std::optional<FastList<Key> >& extraReelimKeys = {},
158 bool force_relinearize =
false);
178 virtual ISAM2Result
update(
const NonlinearFactorGraph& newFactors,
180 const ISAM2UpdateParams& updateParams);
199 void marginalizeLeaves(
200 const FastList<Key>& leafKeys,
208 template <
class... OptArgs>
210 OptArgs&&... optArgs) {
213 marginalizeLeaves(leafKeys, (&optArgs)...);
227 Values calculateEstimate()
const;
235 template <
class VALUE>
260 Values calculateBestEstimate()
const;
270 return nonlinearFactors_;
282 void printStats()
const { getCliqueData().getStats().print(); }
324 KeySet* affectedKeysSet, Cliques* orphans,
332 void addVariables(
const Values& newTheta,
338 void removeVariables(
const KeySet& unusedKeys);
340 void updateDelta(
bool forceFullSolve =
false)
const;
343 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
345 friend class boost::serialization::access;
346 template<
class ARCHIVE>
347 void serialize(ARCHIVE & ar,
const unsigned int ) {
348 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
349 ar & BOOST_SERIALIZATION_NVP(theta_);
350 ar & BOOST_SERIALIZATION_NVP(variableIndex_);
351 ar & BOOST_SERIALIZATION_NVP(delta_);
352 ar & BOOST_SERIALIZATION_NVP(deltaNewton_);
353 ar & BOOST_SERIALIZATION_NVP(RgProd_);
354 ar & BOOST_SERIALIZATION_NVP(deltaReplacedMask_);
355 ar & BOOST_SERIALIZATION_NVP(nonlinearFactors_);
356 ar & BOOST_SERIALIZATION_NVP(linearFactors_);
357 ar & BOOST_SERIALIZATION_NVP(doglegDelta_);
358 ar & BOOST_SERIALIZATION_NVP(fixedVariables_);
359 ar & BOOST_SERIALIZATION_NVP(update_count_);
Specialized iSAM2 Clique.
const VariableIndex & getVariableIndex() const
void marginalizeLeaves(const FastList< Key > &leafKeys, OptArgs &&... optArgs)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
VectorValues deltaNewton_
GaussianFactorGraph linearFactors_
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
Base::sharedClique sharedClique
Shared pointer to a clique.
static const SmartProjectionParams params
const Values & getLinearizationPoint() const
Access the current linearization point.
const ValueType at(Key j) const
Class that stores detailed iSAM2 result.
NonlinearFactorGraph nonlinearFactors_
KeySet deltaReplacedMask_
VariableIndex variableIndex_
bool valueExists(Key key) const
Check whether variable with given key exists in linearization point.
const gtsam::Symbol key('X', 0)
std::vector< float > Values
Factor Graph consisting of non-linear factors.
std::shared_ptr< Clique > sharedClique
Shared pointer to a clique.
Gaussian Bayes Tree, the result of eliminating a GaussianJunctionTree.
Class that stores extra params for ISAM2::update()
const KeySet & getFixedVariables() const
std::optional< double > doglegDelta_
std::uint64_t Key
Integer nonlinear key type.
VALUE calculateEstimate(Key key) const
FastVector< FactorIndex > FactorIndices
Define collection types:
const ISAM2Params & params() const
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:46