Scheduler
|
#include <timeDimension.h>
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... | |
![]() | |
virtual | ~StateSpaceDimension () |
void | setIndex (int i) |
int | getIndex () |
Additional Inherited Members | |
![]() | |
template<typename T > | |
std::shared_ptr< T > | getModel () |
![]() | |
int | index |
std::shared_ptr< DomainModel > | domainModel {nullptr} |
Definition at line 20 of file timeDimension.h.
TimeDimension::TimeDimension | ( | int | nbOfPositions | ) |
Definition at line 20 of file timeDimension.cpp.
|
overridevirtual |
returns the name of that dimension
Implements Mdp::StateSpaceDimension.
Definition at line 25 of file timeDimension.cpp.
|
overridevirtual |
returns the number of possible positions along that dimension
Implements Mdp::StateSpaceDimension.
Definition at line 38 of file timeDimension.cpp.
|
overridevirtual |
gets the position of the state along that dimension
Implements Mdp::StateSpaceDimension.
Definition at line 30 of file timeDimension.cpp.