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