Public Member Functions | Private Attributes
momdp::Variable Class Reference

#include <Variable.h>

Inheritance diagram for momdp::Variable:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void addValue (SharedPointer< VariableValue > value)
virtual void addValue (string value, double initialProb=0.0)
virtual vector< SharedPointer
< IVariableValue > > 
getInitialValues ()
virtual int getNumValues ()
virtual SharedPointer
< IVariableValue
getValueByName (string valName)
virtual vector< SharedPointer
< IVariableValue > > 
getValues ()
virtual string getVariableName ()
 Variable (string name)
virtual ~Variable (void)

Private Attributes

vector< SharedPointer
< VariableValue > > 
values
string variableName

Detailed Description

Definition at line 18 of file Variable.h.


Constructor & Destructor Documentation

Variable::Variable ( string  name)

Definition at line 5 of file Variable.cpp.

Variable::~Variable ( void  ) [virtual]

Definition at line 10 of file Variable.cpp.


Member Function Documentation

void Variable::addValue ( SharedPointer< VariableValue value) [virtual]

Definition at line 23 of file Variable.cpp.

void Variable::addValue ( string  value,
double  initialProb = 0.0 
) [virtual]

Definition at line 27 of file Variable.cpp.

Implements momdp::IVariable.

Definition at line 41 of file Variable.cpp.

int Variable::getNumValues ( ) [virtual]

Implements momdp::IVariable.

Definition at line 32 of file Variable.cpp.

SharedPointer< IVariableValue > Variable::getValueByName ( string  valName) [virtual]

Implements momdp::IVariable.

Definition at line 54 of file Variable.cpp.

vector< SharedPointer< IVariableValue > > Variable::getValues ( ) [virtual]

Implements momdp::IVariable.

Definition at line 13 of file Variable.cpp.

string Variable::getVariableName ( ) [virtual]

Implements momdp::IVariable.

Definition at line 36 of file Variable.cpp.


Member Data Documentation

Definition at line 22 of file Variable.h.

Definition at line 21 of file Variable.h.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30