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

#include <schedulerDimensions.h>

Inheritance diagram for MdpGov::WaitQueueDimension:
Mdp::StateSpaceDimension

Public Member Functions

 ~WaitQueueDimension ()
 
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 = "waitQueueSize"
 

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

Constructor & Destructor Documentation

MdpGov::WaitQueueDimension::~WaitQueueDimension ( )
inline

Definition at line 38 of file schedulerDimensions.h.

Member Function Documentation

std::string WaitQueueDimension::getName ( )
virtual

returns the name of that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 46 of file schedulerDimensions.cpp.

size_t WaitQueueDimension::getNumberOfPositions ( )
virtual

returns the number of possible positions along that dimension

Implements Mdp::StateSpaceDimension.

Definition at line 56 of file schedulerDimensions.cpp.

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

Member Data Documentation

constexpr const char* MdpGov::WaitQueueDimension::configKey = "waitQueueSize"
static

Definition at line 36 of file schedulerDimensions.h.


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