Scheduler
Public Member Functions | List of all members
RlScheduler::TimeDimension Class Reference

#include <timeDimension.h>

Inheritance diagram for RlScheduler::TimeDimension:
Mdp::StateSpaceDimension

Public Member Functions

 TimeDimension (int nbOfPositions)
 
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 ()
 

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 20 of file timeDimension.h.

Constructor & Destructor Documentation

TimeDimension::TimeDimension ( int  nbOfPositions)

Definition at line 20 of file timeDimension.cpp.

Member Function Documentation

std::string TimeDimension::getName ( )
overridevirtual

returns the name of that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 25 of file timeDimension.cpp.

size_t TimeDimension::getNumberOfPositions ( )
overridevirtual

returns the number of possible positions along that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 38 of file timeDimension.cpp.

Mdp::statePosition_t TimeDimension::getPosition ( )
overridevirtual

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 30 of file timeDimension.cpp.


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