MultiAgentDecisionProcess
StateDiscrete Class Reference

StateDiscrete represents discrete states. More...

#include <StateDiscrete.h>

Inheritance diagram for StateDiscrete:
[legend]

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from NamedDescribedEntity
std::string _m_description
 The description. More...
 
std::string _m_name
 The name. More...
 

Detailed Description

StateDiscrete represents discrete states.

StateDiscrete is a class that represent states in a discrete state set, which are identified by their index.

Constructor & Destructor Documentation

StateDiscrete::StateDiscrete ( Index  i = INDEX_MAX,
const std::string &  name = std::string("undefined"),
const std::string &  description = std::string("undefined") 
)
inline

(default) Constructor