Scheduler
stateSpaceDimensions.h
Go to the documentation of this file.
1 
11 
12 
13 
14 
15 
16 namespace Gridworld
17 {
18 
20 {
21 public:
22  StateSpaceDimension(size_t size);
23  std::string getName() override;
24  statePosition_t getPosition() override;
25  size_t getNumberOfPositions() override;
26 };
27 
29 {
30 public:
31  XDimension(size_t size) StateSpaceDimension(size);
32 };
33 
35 {
36 public:
37  YDimension(size_t size) StateSpaceDimension(size);
38 };
39 
40 }
41 
42 
43 
statePosition_t getPosition() override
gets the position of the state along that dimension
std::string getName() override
returns the name of that dimension
size_t getNumberOfPositions() override
returns the number of possible positions along that dimension
int statePosition_t
this models a dimension in the state space.