Scheduler
Public Member Functions | Public Attributes | List of all members
Dimension Class Reference

#include <stateSpaceTest.h>

Inheritance diagram for Dimension:
Mdp::StateSpaceDimension

Public Member Functions

std::string getName () override
 returns the name of that dimension More...
 
Mdp::statePosition_t getPosition () override
 gets the position of the state along that dimension More...
 
size_t getNumberOfPositions () override
 returns the number of possible positions along that dimension More...
 
- Public Member Functions inherited from Mdp::StateSpaceDimension
virtual ~StateSpaceDimension ()
 
void setIndex (int i)
 
int getIndex ()
 

Public Attributes

Mdp::statePosition_t position {0}
 
size_t nbOfPositions {2}
 

Additional Inherited Members

- Protected Member Functions inherited from Mdp::StateSpaceDimension
template<typename T >
std::shared_ptr< T > getModel ()
 
- Protected Attributes inherited from Mdp::StateSpaceDimension
int index
 
std::shared_ptr< DomainModeldomainModel {nullptr}
 

Detailed Description

Definition at line 30 of file stateSpaceTest.h.

Member Function Documentation

std::string Dimension::getName ( )
inlineoverridevirtual

returns the name of that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 33 of file stateSpaceTest.h.

size_t Dimension::getNumberOfPositions ( )
inlineoverridevirtual

returns the number of possible positions along that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 36 of file stateSpaceTest.h.

Mdp::statePosition_t Dimension::getPosition ( )
inlineoverridevirtual

gets the position of the state along that dimension

Returns
a position starting at 0 along that dimension of the (discrete finite) space.

Implements Mdp::StateSpaceDimension.

Definition at line 34 of file stateSpaceTest.h.

Member Data Documentation

size_t Dimension::nbOfPositions {2}

Definition at line 37 of file stateSpaceTest.h.

Mdp::statePosition_t Dimension::position {0}

Definition at line 35 of file stateSpaceTest.h.


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