A clique in a HybridBayesTree which is a HybridConditional internally.
More...
#include <HybridBayesTree.h>
|
sharedConditional | conditional_ |
|
derived_weak_ptr | parent_ |
|
FastVector< derived_ptr > | children |
|
int | problemSize_ |
|
bool | is_root |
|
A clique in a HybridBayesTree which is a HybridConditional internally.
◆ conditional()
◆ deleteCachedShortcuts()
This deletes the cached shortcuts of all cliques (subtree) below this clique. This is performed when the bayes tree is modified.
◆ deleteCachedShortcutsNonRecursive()
Non-recursive delete cached shortcuts and marginals - internal only.
◆ equals()
◆ isRoot()
is this the root of a Bayes tree ?
◆ marginal2()
return the marginal P(C) of the clique, using marginal caching
◆ numCachedSeparatorMarginals()
Collect number of cliques with cached separator marginals
◆ parent()
return a shared_ptr to the parent clique
◆ print()
◆ problemSize()
Problem size (used for parallel traversal)
◆ separatorMarginal()
return the marginal P(S) on the separator
◆ setEliminationResult()
Fill the elimination result produced during elimination. Here this just stores the conditional and ignores the remaining factor, but this is overridden in ISAM2Clique to also cache the remaining factor.
◆ shortcut()
return the conditional P(S|Root) on the separator given the root
◆ shortcut_indices()
Determine variable indices to keep in recursive separator shortcut calculation The factor graph p_Cp_B has keys from the parent clique Cp and from B. But we only keep the variables not in S union B.
◆ treeSize()
The size of subtree rooted at this clique, i.e., nr of Cliques
◆ cachedSeparatorMarginalMutex_
|
mutableprotectedinherited |
This protects Cached seperator marginal P(S) from concurrent read/writes as many the functions which access it are const (hence the mutable) leading to the false impression that these const functions are thread-safe which is not true due to these mutable values. This is fixed by applying this mutex.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/gtsam-jlblanco-docs/checkouts/latest/gtsam/hybrid/HybridBayesTree.h