small cleanup
parent
f6d42d0ee0
commit
53d00864bb
|
@ -146,8 +146,7 @@ std::function<double(const Assignment<Key> &, double)> prunerFunc(
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
void HybridBayesNet::updateDiscreteConditionals(
|
void HybridBayesNet::updateDiscreteConditionals(
|
||||||
const DecisionTreeFactor &prunedDiscreteProbs) {
|
const DecisionTreeFactor &prunedDiscreteProbs) {
|
||||||
KeyVector prunedTreeKeys = prunedDiscreteProbs.keys();
|
//TODO(Varun) Should prune the joint conditional, maybe during elimination?
|
||||||
|
|
||||||
// Loop with index since we need it later.
|
// Loop with index since we need it later.
|
||||||
for (size_t i = 0; i < this->size(); i++) {
|
for (size_t i = 0; i < this->size(); i++) {
|
||||||
HybridConditional::shared_ptr conditional = this->at(i);
|
HybridConditional::shared_ptr conditional = this->at(i);
|
||||||
|
|
Loading…
Reference in New Issue