Scheduler
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
RlDim Class Reference

#include <rlTestDimensions.h>

Inheritance diagram for RlDim:
Mdp::StateSpaceDimension

Public Member Functions

 RlDim (int i)
 
std::string getName ()
 returns the name of that dimension More...
 
Mdp::statePosition_t getPosition ()
 gets the position of the state along that dimension More...
 
int getNumberOfPositions ()
 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 ()
 

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 23 of file rlTestDimensions.h.

Constructor & Destructor Documentation

RlDim::RlDim ( int  i)

Copyright 2017 Jacques Florence All rights reserved. See License.txt file

Definition at line 13 of file rlTestDimensions.cpp.

Member Function Documentation

std::string RlDim::getName ( )
inlinevirtual

returns the name of that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 27 of file rlTestDimensions.h.

int RlDim::getNumberOfPositions ( )
virtual

returns the number of possible positions along that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 18 of file rlTestDimensions.cpp.

Mdp::statePosition_t RlDim::getPosition ( )
virtual

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 24 of file rlTestDimensions.cpp.


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