Scheduler
temperatureDimension.h
Go to the documentation of this file.
1 
10 #ifndef RL_SCHEDULER_TEMPERATURE_DIMENSION_H
11 #define RL_SCHEDULER_TEMPERATURE_DIMENSION_H
12 
14 
15 namespace RlScheduler
16 {
17 
19 {
20 public:
21  TemperatureDimension(int nbPos) : nbOfPositions(nbPos) {};
22  std::string getName() override;
24  size_t getNumberOfPositions() override;
25 
26 private:
27  Mdp::statePosition_t discretizePosition(double temperature) const;
28  size_t nbOfPositions{800}; //arbitrary number
29  double minTemp{20};
30  double maxTemp{55};
31 };
32 
33 }
34 
35 #endif
size_t getNumberOfPositions() override
returns the number of possible positions along that dimension
Mdp::statePosition_t getPosition() override
gets the position of the state along that dimension
int statePosition_t
std::string getName() override
returns the name of that dimension
this models a dimension in the state space.