#include <Assignment.h>
Public Types | |
enum | AssignmentType { NEW, EXISTING, CLUTTER } |
Public Member Functions | |
Assignment (AssignmentType type, const Evidence *evidence, const SemanticObject *target, double probability) | |
const Evidence * | getEvidence () const |
SemanticObject * | getNewObject () const |
double | getProbability () const |
const SemanticObject * | getTarget () const |
AssignmentType | getType () const |
SemanticObject * | getUpdatedObject () const |
std::string | toString () const |
virtual | ~Assignment () |
Protected Attributes | |
const Evidence * | evidence_ |
SemanticObject * | new_object_ |
double | probability_ |
const SemanticObject * | target_ |
AssignmentType | type_ |
SemanticObject * | updated_object_ |
Definition at line 18 of file Assignment.h.
Enumerator | |
---|---|
NEW | |
EXISTING | |
CLUTTER |
Definition at line 22 of file Assignment.h.
|
virtual |
Definition at line 21 of file Assignment.cpp.
mhf::Assignment::Assignment | ( | AssignmentType | type, |
const Evidence * | evidence, | ||
const SemanticObject * | target, | ||
double | probability | ||
) |
Definition at line 16 of file Assignment.cpp.
const Evidence * mhf::Assignment::getEvidence | ( | ) | const |
Definition at line 28 of file Assignment.cpp.
SemanticObject * mhf::Assignment::getNewObject | ( | ) | const |
Definition at line 41 of file Assignment.cpp.
double mhf::Assignment::getProbability | ( | ) | const |
Definition at line 36 of file Assignment.cpp.
const SemanticObject * mhf::Assignment::getTarget | ( | ) | const |
Definition at line 32 of file Assignment.cpp.
Assignment::AssignmentType mhf::Assignment::getType | ( | ) | const |
Definition at line 24 of file Assignment.cpp.
SemanticObject * mhf::Assignment::getUpdatedObject | ( | ) | const |
Definition at line 52 of file Assignment.cpp.
std::string mhf::Assignment::toString | ( | ) | const |
Definition at line 64 of file Assignment.cpp.
|
protected |
Definition at line 50 of file Assignment.h.
|
mutableprotected |
Definition at line 56 of file Assignment.h.
|
protected |
Definition at line 54 of file Assignment.h.
|
protected |
Definition at line 52 of file Assignment.h.
|
protected |
Definition at line 48 of file Assignment.h.
|
mutableprotected |
Definition at line 58 of file Assignment.h.