constructor with three parents
parent
b2eee54b5a
commit
8d8503bd99
|
@ -62,6 +62,17 @@ namespace gtsam {
|
||||||
parents_.push_back(parent2);
|
parents_.push_back(parent2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Three parents
|
||||||
|
*/
|
||||||
|
SymbolicConditional(const std::string& key, const std::string& parent1,
|
||||||
|
const std::string& parent2, const std::string& parent3) :
|
||||||
|
Conditional(key) {
|
||||||
|
parents_.push_back(parent1);
|
||||||
|
parents_.push_back(parent2);
|
||||||
|
parents_.push_back(parent3);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A list
|
* A list
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue