21 hyp_(hyp), assignment_matrix_(assignment_matrix), probability_(hyp_->getProbability()),
22 evidence_assignments_(assignment_matrix_->getNumMeasurements()), n_blocked_(0) {
49 children.push_back(child);
96 std::cout << std::endl <<
"===== P = " <<
getProbability() <<
" ====" << std::endl;
102 std::cout <<
" (" << prob <<
")";
104 std::cout <<
" " << prob <<
" ";
void expand(std::list< AssignmentSet * > &children) const
std::vector< unsigned int > evidence_assignments_
double getProbability() const
unsigned int getNumAssignments(unsigned int i_ev)
Hypothesis * getHypothesis() const
void getAllAssignments(std::list< const Assignment * > &assignments) const
const Assignment & getAssignment(unsigned int i_ev, int i_assignment)
double getProbability() const
int getNumMeasurements() const
const Assignment & getMeasurementAssignment(unsigned int i_ev) const
std::string toString() const
AssignmentSet(Hypothesis *hyp, AssignmentMatrix *assignment_matrix)
AssignmentMatrix * assignment_matrix_