#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 20 of file AssignmentSet.cpp.
mhf::AssignmentSet::AssignmentSet | ( | const AssignmentSet & | orig | ) |
Definition at line 32 of file AssignmentSet.cpp.
|
virtual |
Definition at line 37 of file AssignmentSet.cpp.
bool mhf::AssignmentSet::allMeasurementsAssigned | ( | ) | const |
bool mhf::AssignmentSet::allObjectsAssigned | ( | ) | const |
AssignmentSet* mhf::AssignmentSet::constructNextBest | ( | ) | const |
void mhf::AssignmentSet::expand | ( | std::list< AssignmentSet * > & | children | ) | const |
Definition at line 40 of file AssignmentSet.cpp.
void mhf::AssignmentSet::getAllAssignments | ( | std::list< const Assignment * > & | assignments | ) | const |
Definition at line 58 of file AssignmentSet.cpp.
Hypothesis * mhf::AssignmentSet::getHypothesis | ( | ) | const |
Definition at line 68 of file AssignmentSet.cpp.
const Assignment & mhf::AssignmentSet::getMeasurementAssignment | ( | unsigned int | i_ev | ) | const |
Definition at line 54 of file AssignmentSet.cpp.
int mhf::AssignmentSet::getNumMeasurements | ( | ) | const |
Definition at line 72 of file AssignmentSet.cpp.
double mhf::AssignmentSet::getProbability | ( | ) | const |
Definition at line 64 of file AssignmentSet.cpp.
void mhf::AssignmentSet::init | ( | ) |
bool mhf::AssignmentSet::isValid | ( | ) | const |
Definition at line 76 of file AssignmentSet.cpp.
void mhf::AssignmentSet::print | ( | ) | const |
Definition at line 95 of file AssignmentSet.cpp.
|
protected |
Definition at line 60 of file AssignmentSet.h.
|
protected |
Definition at line 64 of file AssignmentSet.h.
|
protected |
Definition at line 58 of file AssignmentSet.h.
|
protected |
Definition at line 66 of file AssignmentSet.h.
|
protected |
Definition at line 62 of file AssignmentSet.h.