Public Types | Public Member Functions | Protected Attributes | List of all members
mhf::Assignment Class Reference

#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 EvidencegetEvidence () const
 
SemanticObjectgetNewObject () const
 
double getProbability () const
 
const SemanticObjectgetTarget () const
 
AssignmentType getType () const
 
SemanticObjectgetUpdatedObject () const
 
std::string toString () const
 
virtual ~Assignment ()
 

Protected Attributes

const Evidenceevidence_
 
SemanticObjectnew_object_
 
double probability_
 
const SemanticObjecttarget_
 
AssignmentType type_
 
SemanticObjectupdated_object_
 

Detailed Description

Definition at line 18 of file Assignment.h.

Member Enumeration Documentation

Enumerator
NEW 
EXISTING 
CLUTTER 

Definition at line 22 of file Assignment.h.

Constructor & Destructor Documentation

mhf::Assignment::~Assignment ( )
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.

Member Function Documentation

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.

Member Data Documentation

const Evidence* mhf::Assignment::evidence_
protected

Definition at line 50 of file Assignment.h.

SemanticObject* mhf::Assignment::new_object_
mutableprotected

Definition at line 56 of file Assignment.h.

double mhf::Assignment::probability_
protected

Definition at line 54 of file Assignment.h.

const SemanticObject* mhf::Assignment::target_
protected

Definition at line 52 of file Assignment.h.

AssignmentType mhf::Assignment::type_
protected

Definition at line 48 of file Assignment.h.

SemanticObject* mhf::Assignment::updated_object_
mutableprotected

Definition at line 58 of file Assignment.h.


The documentation for this class was generated from the following files:


wire_core
Author(s): Sjoerd van den Dries, Jos Elfring
autogenerated on Fri Apr 16 2021 02:32:27