Scheduler
schedulerDimensions.h
Go to the documentation of this file.
1 
10 #ifndef SCHEDULERDIMENSIONS_H
11 #define SCHEDULERDIMENSIONS_H
12 
13 #include <memory>
14 
16 
17 namespace MdpGov
18 {
19 
20 class SchedulerDomainModel;
21 
23 {
24 public:
25  static constexpr const char *configKey = "readyQueueSize";
26 public:
28  std::string getName();
30  size_t getNumberOfPositions();
31 };
32 
34 {
35 public:
36  static constexpr const char *configKey = "waitQueueSize";
37 public:
39  std::string getName();
41  size_t getNumberOfPositions();
42 };
43 
45 {
46 public:
47  static constexpr const char *configKey = "frequencyQueueSize";
48 public:
50  std::string getName();
52  size_t getNumberOfPositions();
53 };
54 
56 {
57 public:
58  static constexpr const char *configKey = "temperatureQueueSize";
59 public:
61  std::string getName();
63  size_t getNumberOfPositions();
64 };
65 
67 {
68 public:
69  static constexpr const char *configKey = "missRateQueueSize";
70 public:
72  std::string getName();
74  size_t getNumberOfPositions();
75 };
76 
77 
78 }
79 
80 #endif
size_t getNumberOfPositions()
returns the number of possible positions along that dimension
static constexpr const char * configKey
std::string getName()
returns the name of that dimension
int statePosition_t
this models a dimension in the state space.
Mdp::statePosition_t getPosition()
gets the position of the state along that dimension