Removed constructor, use eliminate
parent
0f688302ad
commit
040f407b0b
|
@ -20,17 +20,6 @@ namespace gtsam {
|
||||||
// Explicitly instantiate so we don't have to include everywhere
|
// Explicitly instantiate so we don't have to include everywhere
|
||||||
template class BayesChain<SymbolicConditional>;
|
template class BayesChain<SymbolicConditional>;
|
||||||
|
|
||||||
typedef pair<string,SymbolicConditional::shared_ptr> pp;
|
|
||||||
|
|
||||||
/* ************************************************************************* */
|
|
||||||
SymbolicBayesChain::SymbolicBayesChain(const std::map<std::string,
|
|
||||||
SymbolicConditional::shared_ptr>& nodes) {
|
|
||||||
BOOST_FOREACH(pp p, nodes) {
|
|
||||||
keys_.push_front(p.first);
|
|
||||||
nodes_.insert(p);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
||||||
} // namespace gtsam
|
} // namespace gtsam
|
||||||
|
|
|
@ -35,12 +35,6 @@ namespace gtsam {
|
||||||
*/
|
*/
|
||||||
SymbolicBayesChain() {}
|
SymbolicBayesChain() {}
|
||||||
|
|
||||||
/**
|
|
||||||
* Construct from a map of nodes
|
|
||||||
*/
|
|
||||||
SymbolicBayesChain(const std::map<std::string,
|
|
||||||
SymbolicConditional::shared_ptr>& nodes);
|
|
||||||
|
|
||||||
/** Destructor */
|
/** Destructor */
|
||||||
virtual ~SymbolicBayesChain() {
|
virtual ~SymbolicBayesChain() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue