Go to the documentation of this file.
26 template<
class BAYESTREE>
31 const KeySet newFactorKeys = newFactors.keys();
33 KeyVector keyVector(newFactorKeys.begin(), newFactorKeys.end());
34 this->removeTop(keyVector, &bn, orphans);
44 factors.template emplace_shared<BayesTreeOrphanWrapper<Clique> >(orphan);
49 KeyVector(newFactorKeys.begin(), newFactorKeys.end()));
55 this->roots_.insert(this->roots_.end(),
bayesTree->
roots().begin(),
61 template<
class BAYESTREE>
65 this->updateInternal(newFactors, &orphans,
function);
static Ordering ColamdConstrainedLast(const FACTOR_GRAPH &graph, const KeyVector &constrainLast, bool forceOrder=false)
HybridBayesTreeClique ::FactorGraphType FactorGraphType
FactorGraphType::Eliminate Eliminate
const GaussianFactorGraph factors
static const DiscreteBayesTree bayesTree
Incremental update functionality (iSAM) for BayesTree.
const Nodes & nodes() const
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
std::shared_ptr< BayesTreeType > eliminateMultifrontal(OptionalOrderingType orderingType={}, const Eliminate &function=EliminationTraitsType::DefaultEliminate, OptionalVariableIndex variableIndex={}) const
const Roots & roots() const
HybridBayesTreeClique ::BayesNetType BayesNetType
static enum @1096 ordering
void updateInternal(const FactorGraphType &newFactors, Cliques *orphans, const Eliminate &function=EliminationTraitsType::DefaultEliminate)
IsDerived< DERIVEDFACTOR > push_back(std::shared_ptr< DERIVEDFACTOR > factor)
Add a factor directly using a shared_ptr.
std::shared_ptr< Clique > sharedClique
Shared pointer to a clique.
void update(const FactorGraphType &newFactors, const Eliminate &function=EliminationTraitsType::DefaultEliminate)
gtsam
Author(s):
autogenerated on Mon Mar 10 2025 03:02:42