MultiAgentDecisionProcess  Release 0.2.1
ObservationDiscrete Class Reference

ObservationDiscrete represents discrete observations. More...

#include <ObservationDiscrete.h>

+ Inheritance diagram for ObservationDiscrete:
+ Collaboration diagram for ObservationDiscrete:

Public Member Functions

 ObservationDiscrete (Index i, std::string name=std::string("undefined"), std::string description=std::string("undefined"))
 (default) Constructor
- Public Member Functions inherited from Observation
 Observation (std::string name=std::string("undefined"), std::string description=std::string("undefined"))
 (default) Constructor
- Public Member Functions inherited from NamedDescribedEntity
std::string GetDescription () const
 Get the description of the NamedDescribedEntity.
std::string GetName () const
 Get the name of the NamedDescribedEntity.
 NamedDescribedEntity (std::string name=std::string("undefined"), std::string description=std::string("undefined"))
 (default) Constructor
 NamedDescribedEntity (const NamedDescribedEntity &)
 copy constructor.
void Print () const
 Prints the name and description (by default).
void PrintBrief () const
 Prints the name (by default).
void SetDescription (std::string description)
 Set the description.
void SetName (std::string name)
 Set the name.
virtual std::string SoftPrint () const
 Returns the name and description (if not reimplemented).
virtual std::string SoftPrintBrief () const
 Returns the name (if not reimplemented).
virtual ~NamedDescribedEntity ()
 Destructor.
- Public Member Functions inherited from DiscreteEntity
 DiscreteEntity (Index i)
 (default) Constructor
Index GetIndex () const
 Return this DiscreteEntity's index.
bool operator< (const DiscreteEntity &a) const
 The less (<) operator. This is needed to put DiscreteEntities in a set.
void SetIndex (Index i)
 Set this DiscreteEntity's index.
virtual ~DiscreteEntity ()
 Destructor.

Additional Inherited Members

- Protected Attributes inherited from NamedDescribedEntity
std::string * _m_description
 Pointer to the description.
std::string * _m_name
 Pointer to the name.
- Protected Attributes inherited from DiscreteEntity
Index _m_index
 The index of this discrete entity.

Detailed Description

ObservationDiscrete represents discrete observations.

ObservationDiscrete is a class that represent observations in a discrete observation set, which are identified by their index.

Definition at line 44 of file ObservationDiscrete.h.

Constructor & Destructor Documentation

ObservationDiscrete::ObservationDiscrete ( Index  i,
std::string  name = std::string("undefined"),
std::string  description = std::string("undefined") 
)
inline

(default) Constructor

Definition at line 54 of file ObservationDiscrete.h.


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