61 int reorderInterval = 1,
63 HybridGaussianFactorGraph::EliminationTraitsType::DefaultEliminate)
64 : reorderInterval_(reorderInterval),
88 void prune(
const size_t maxNumberLeaves) { isam_.
prune(maxNumberLeaves); }
106 void print(
const std::string&
s =
"",
110 void printStats()
const;
113 void saveGraph(
const std::string&
s,
122 const Values& initialValues,
123 const std::optional<size_t>& maxNrLeaves = {},
124 const std::optional<Ordering>&
ordering = {});
127 void reorder_relinearize();
void print(const Matrix &A, const string &s, ostream &stream)
HybridGaussianFactorGraph::Eliminate eliminationFunction_
int reorderInterval() const
TODO: comment.
Nonlinear hybrid factor graph that uses type erasure.
const HybridGaussianISAM & bayesTree() const
static const KeyFormatter DefaultKeyFormatter
static enum @1107 ordering
void prune(const size_t maxNumberLeaves)
Prune the underlying Bayes tree.
HybridNonlinearFactorGraph factors_
void prune(const size_t maxNumberLeaves)
Prune the underlying Bayes tree.
DiscreteValues assignment_
The discrete assignment.
std::function< EliminationResult(const FactorGraphType &, const Ordering &)> Eliminate
The function type that does a single dense elimination step on a subgraph.
const DiscreteValues & assignment() const
int reorderCounter() const
TODO: comment.
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
HybridNonlinearISAM(int reorderInterval=1, const HybridGaussianFactorGraph::Eliminate &eliminationFunction=HybridGaussianFactorGraph::EliminationTraitsType::DefaultEliminate)
const HybridNonlinearFactorGraph & getFactorsUnsafe() const
const TREE::Eliminate & eliminationFunction
const Values & getLinearizationPoint() const
gtsam::HybridGaussianISAM isam_