Scheduler
rlTestDimensions.cpp
Go to the documentation of this file.
1 
10 #include "rlTestDimensions.h"
11 
12 
13 RlDim::RlDim(int i) : nbPos(i)
14 {
15 }
16 
17 
19 {
20  return nbPos;
21 }
22 
23 
25 {
26  return (nbPos == 12) ? getModel<RlTestDomainModel>()->xpos: getModel<RlTestDomainModel>()->ypos;
27 }
28 
29 
30 
31 
32 
RlDim(int i)
int getNumberOfPositions()
returns the number of possible positions along that dimension
Mdp::statePosition_t getPosition()
gets the position of the state along that dimension
int statePosition_t