Scheduler
Public Member Functions | Static Public Attributes | List of all members
MdpGov::ReadyQueueDimension Class Reference

#include <schedulerDimensions.h>

Inheritance diagram for MdpGov::ReadyQueueDimension:
Mdp::StateSpaceDimension

Public Member Functions

 ~ReadyQueueDimension ()
 
std::string getName ()
 returns the name of that dimension More...
 
Mdp::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...
 
- Public Member Functions inherited from Mdp::StateSpaceDimension
virtual ~StateSpaceDimension ()
 
void setIndex (int i)
 
int getIndex ()
 

Static Public Attributes

static constexpr const char * configKey = "readyQueueSize"
 

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 22 of file schedulerDimensions.h.

Constructor & Destructor Documentation

MdpGov::ReadyQueueDimension::~ReadyQueueDimension ( )
inline

Definition at line 27 of file schedulerDimensions.h.

Member Function Documentation

std::string ReadyQueueDimension::getName ( )
virtual

returns the name of that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 25 of file schedulerDimensions.cpp.

size_t ReadyQueueDimension::getNumberOfPositions ( )
virtual

returns the number of possible positions along that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 35 of file schedulerDimensions.cpp.

Mdp::statePosition_t ReadyQueueDimension::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 30 of file schedulerDimensions.cpp.

Member Data Documentation

constexpr const char* MdpGov::ReadyQueueDimension::configKey = "readyQueueSize"
static

Definition at line 25 of file schedulerDimensions.h.


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