Added access functions for cachedSeparatorMarginals
parent
1985758d35
commit
0e60b8cc4d
|
|
@ -217,10 +217,14 @@ namespace gtsam {
|
||||||
void deleteCachedShorcuts();
|
void deleteCachedShorcuts();
|
||||||
|
|
||||||
/** return cached shortcut of the clique */
|
/** return cached shortcut of the clique */
|
||||||
const boost::optional<BayesNet<ConditionalType> > cachedShortcut() const {
|
const boost::optional<BayesNet<ConditionalType> >& cachedShortcut() const {
|
||||||
return cachedShortcut_;
|
return cachedShortcut_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const boost::optional<FactorGraph<FactorType> >& cachedSeparatorMarginal() const {
|
||||||
|
return cachedSeparatorMarginal_;
|
||||||
|
}
|
||||||
|
|
||||||
friend class BayesTree<ConditionalType, DerivedType> ;
|
friend class BayesTree<ConditionalType, DerivedType> ;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue