Go to the documentation of this file.
48 #ifdef USE_BROKEN_FAST_BACKSUBSTITUTE
59 cachedFactor_(
other.cachedFactor_),
60 gradientContribution_(
other.gradientContribution_) {}
65 Base::operator=(
other);
66 cachedFactor_ =
other.cachedFactor_;
67 gradientContribution_ =
other.gradientContribution_;
72 void setEliminationResult(
73 const FactorGraphType::EliminationResult& eliminationResult);
87 void print(
const std::string&
s =
"",
94 bool optimizeWildfireNode(
const KeySet& replaced,
double threshold,
102 void nnz_internal(
size_t*
result)
const;
103 size_t calculate_nnz()
const;
127 bool isDirty(
const KeySet& replaced,
const KeySet& changed)
const;
139 bool valuesChanged(
const KeySet& replaced,
const Vector& originalValues,
143 void markFrontalsAsChanged(
KeySet* changed)
const;
146 void restoreFromOriginals(
const Vector& originalValues,
149 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
151 friend class boost::serialization::access;
152 template <
class ARCHIVE>
153 void serialize(ARCHIVE& ar,
const unsigned int ) {
154 ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(
Base);
155 ar& BOOST_SERIALIZATION_NVP(cachedFactor_);
156 ar& BOOST_SERIALIZATION_NVP(gradientContribution_);
176 double threshold,
const KeySet& replaced,
ISAM2Clique()
Default constructor.
Linear Factor Graph where all factors are Gaussians.
Conditional Gaussian Base class.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
const KeyFormatter & formatter
Base class for cliques of a BayesTree.
BayesTreeCliqueBase< This, GaussianFactorGraph > Base
Chordal Bayes Net, the result of eliminating a factor graph.
size_t optimizeWildfire(const ISAM2Clique::shared_ptr &root, double threshold, const KeySet &keys, VectorValues *delta)
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
void print(const Matrix &A, const string &s, ostream &stream)
std::shared_ptr< This > shared_ptr
size_t optimizeWildfireNonRecursive(const ISAM2Clique::shared_ptr &root, double threshold, const KeySet &keys, VectorValues *delta)
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
ISAM2Clique(const ISAM2Clique &other)
GaussianConditional ConditionalType
Base::FactorType::shared_ptr cachedFactor_
const Vector & gradientContribution() const
Access the gradient contribution.
void g(const string &key, int i)
std::shared_ptr< This > shared_ptr
std::weak_ptr< This > weak_ptr
ISAM2Clique & operator=(const ISAM2Clique &other)
Vector gradientContribution_
std::shared_ptr< This > shared_ptr
shared_ptr to this class
Base::FactorType::shared_ptr & cachedFactor()
ConditionalType::shared_ptr sharedConditional
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:33