#include <AssignmentSet.h>
Public Member Functions | |
bool | allMeasurementsAssigned () const |
bool | allObjectsAssigned () const |
AssignmentSet (Hypothesis *hyp, AssignmentMatrix *assignment_matrix) | |
AssignmentSet (const AssignmentSet &orig) | |
AssignmentSet * | constructNextBest () const |
void | expand (std::list< AssignmentSet * > &children) const |
void | getAllAssignments (std::list< const Assignment * > &assignments) const |
Hypothesis * | getHypothesis () const |
const Assignment & | getMeasurementAssignment (unsigned int i_ev) const |
int | getNumMeasurements () const |
double | getProbability () const |
void | init () |
bool | isValid () const |
void | print () const |
virtual | ~AssignmentSet () |
Protected Attributes | |
AssignmentMatrix * | assignment_matrix_ |
std::vector< unsigned int > | evidence_assignments_ |
Hypothesis * | hyp_ |
int | n_blocked_ |
double | probability_ |
Definition at line 22 of file AssignmentSet.h.
mhf::AssignmentSet::AssignmentSet | ( | Hypothesis * | hyp, |
AssignmentMatrix * | assignment_matrix | ||
) |
Definition at line 22 of file AssignmentSet.cpp.
mhf::AssignmentSet::AssignmentSet | ( | const AssignmentSet & | orig | ) |
Definition at line 34 of file AssignmentSet.cpp.
mhf::AssignmentSet::~AssignmentSet | ( | ) | [virtual] |
Definition at line 39 of file AssignmentSet.cpp.
bool mhf::AssignmentSet::allMeasurementsAssigned | ( | ) | const |
bool mhf::AssignmentSet::allObjectsAssigned | ( | ) | const |
void mhf::AssignmentSet::expand | ( | std::list< AssignmentSet * > & | children | ) | const |
Definition at line 42 of file AssignmentSet.cpp.
void mhf::AssignmentSet::getAllAssignments | ( | std::list< const Assignment * > & | assignments | ) | const |
Definition at line 60 of file AssignmentSet.cpp.
Hypothesis * mhf::AssignmentSet::getHypothesis | ( | ) | const |
Definition at line 70 of file AssignmentSet.cpp.
const Assignment & mhf::AssignmentSet::getMeasurementAssignment | ( | unsigned int | i_ev | ) | const |
Definition at line 56 of file AssignmentSet.cpp.
int mhf::AssignmentSet::getNumMeasurements | ( | ) | const |
Definition at line 74 of file AssignmentSet.cpp.
double mhf::AssignmentSet::getProbability | ( | ) | const |
Definition at line 66 of file AssignmentSet.cpp.
void mhf::AssignmentSet::init | ( | ) |
bool mhf::AssignmentSet::isValid | ( | ) | const |
Definition at line 78 of file AssignmentSet.cpp.
void mhf::AssignmentSet::print | ( | ) | const |
Definition at line 97 of file AssignmentSet.cpp.
AssignmentMatrix* mhf::AssignmentSet::assignment_matrix_ [protected] |
Definition at line 60 of file AssignmentSet.h.
std::vector<unsigned int> mhf::AssignmentSet::evidence_assignments_ [protected] |
Definition at line 64 of file AssignmentSet.h.
Hypothesis* mhf::AssignmentSet::hyp_ [protected] |
Definition at line 58 of file AssignmentSet.h.
int mhf::AssignmentSet::n_blocked_ [protected] |
Definition at line 66 of file AssignmentSet.h.
double mhf::AssignmentSet::probability_ [protected] |
Definition at line 62 of file AssignmentSet.h.