23 #ifndef SRC_TYPES_MAZEOFDIGITS_HPP_
24 #define SRC_TYPES_MAZEOFDIGITS_HPP_
30 namespace environments {
219 mic::configuration::Property<short>
type;
226 std::string
gridToString(mic::types::TensorXfPtr & grid_);
void initFullyRandomMaze()
virtual float getStateReward(mic::types::Position2D pos_)
virtual std::string observationToString()
virtual void initializeEnvironment()
Abstract class representing an environment.
virtual size_t getObservationSize()
virtual bool isStateTerminal(mic::types::Position2D pos_)
mic::environments::MazeOfDigits & operator=(const mic::environments::MazeOfDigits &md)
size_t channels
Number of channels.
virtual bool isStateTerminal(long x_, long y_)
virtual mic::types::Position2D getAgentPosition()
virtual bool isStateAllowed(mic::types::Position2D pos_)
mic::types::TensorXfPtr getObservation()
MazeOfDigitsChannels
MazeOfDigits channels.
virtual mic::types::MatrixXfPtr encodeEnvironment()
std::string gridToString(mic::types::TensorXfPtr &grid_)
unsigned int optimalPathLength()
mic::configuration::Property< size_t > width
Property: width of the environment.
void initRandomStructuredMaze()
void reRandomAgentPosition()
Class emulating the maze of digits environment.
virtual void initializePropertyDependentVariables()
bool pomdp_flag
Flag related to.
Channel storing the agent position.
void setBiggerDigit(size_t x_, size_t y_, size_t value_)
void initRandomPathMaze()
virtual mic::types::MatrixXfPtr encodeAgentGrid()
Encode the current state of the reduced grid (only the agent position) as a matrix of size [1...
mic::configuration::Property< size_t > roi_size
Property: size of the ROI (region of interest).
virtual bool moveAgentToPosition(mic::types::Position2D pos_)
virtual mic::types::MatrixXfPtr encodeObservation()
MazeOfDigits(std::string node_name_="maze_of_digits")
mic::configuration::Property< short > type
mic::configuration::Property< size_t > height
Property: height of the environment.
virtual bool isStateAllowed(long x_, long y_)
unsigned int optimal_path_length
virtual std::string environmentToString()