10 #ifndef MDPSTATESPACEDIMENSION_H 11 #define MDPSTATESPACEDIMENSION_H 37 virtual std::string
getName()=0;
51 std::shared_ptr<T> model = std::dynamic_pointer_cast<T>(
domainModel);
53 throw std::runtime_error(
"inconsistent domain model type");
68 static constexpr
const char *configKey =
"FOR TEST PURPOSE ONLY";
std::shared_ptr< DomainModel > domainModel
virtual statePosition_t getPosition()=0
gets the position of the state along that dimension
virtual std::string getName()=0
returns the name of that dimension
std::string getName()
returns the name of that dimension
static constexpr const char * configKey
std::shared_ptr< T > getModel()
virtual size_t getNumberOfPositions()=0
returns the number of possible positions along that dimension
virtual ~StateSpaceDimension()
size_t getNumberOfPositions()
returns the number of possible positions along that dimension
statePosition_t getPosition()
gets the position of the state along that dimension
this models a dimension in the state space.
void setNumberOfPositions(int n)
builds a domain specific state space