Scheduler
Public Member Functions | Static Public Attributes | List of all members
Mdp::TestOnlyDimension Class Reference

#include <stateSpaceDimension.h>

Inheritance diagram for Mdp::TestOnlyDimension:
Mdp::StateSpaceDimension

Public Member Functions

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

Static Public Attributes

static constexpr const char * configKey = "FOR TEST PURPOSE ONLY"
 

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 65 of file stateSpaceDimension.h.

Constructor & Destructor Documentation

Mdp::TestOnlyDimension::~TestOnlyDimension ( )
inline

Definition at line 70 of file stateSpaceDimension.h.

Member Function Documentation

std::string Mdp::TestOnlyDimension::getName ( )
inlinevirtual

returns the name of that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 71 of file stateSpaceDimension.h.

size_t Mdp::TestOnlyDimension::getNumberOfPositions ( )
inlinevirtual

returns the number of possible positions along that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 73 of file stateSpaceDimension.h.

statePosition_t Mdp::TestOnlyDimension::getPosition ( )
inlinevirtual

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 72 of file stateSpaceDimension.h.

void Mdp::TestOnlyDimension::setNumberOfPositions ( int  n)
inline

Definition at line 74 of file stateSpaceDimension.h.

Member Data Documentation

constexpr const char* Mdp::TestOnlyDimension::configKey = "FOR TEST PURPOSE ONLY"
static

Definition at line 68 of file stateSpaceDimension.h.


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