|
bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
|
Classes | |
| struct | board |
| struct | board_piece |
| The BoardPiece struct. More... | |
| struct | GridWorldEnv |
| struct | not_equal |
Typedefs | |
| typedef std::pair< int, int > | board_position |
| Models a position on the board. | |
| typedef std::vector< std::vector< std::vector< real_t > > > | board_state_type |
| Array specifying the state of the board. | |
| using | board_mask = board_piece |
Enumerations | |
| enum | board_component_type { PLAYER = 0 , GOAL = 1 , PIT = 2 , WALL = 3 } |
| The BoardComponentType enum. More... | |
| enum | board_move_type { VALID = 0 , INVALID = 1 , LOST_GAME = 2 } |
| The MoveType enum. More... | |
Functions | |
| bool | validate_board (const board &b) |
| bool | operator== (const board_position &p1, const board_position &p2) |
| Test if two positions are equal. | |
| bool | operator!= (const board_position &p1, const board_position &p2) |
| Test if two positions are equal. | |
| board_position | operator+ (const board_position &p1, const board_position &p2) |
| Add two positions and return their result. | |
| int_t | max (const board_position &p) |
| Returns the max component of a position. | |
| int_t | min (const board_position &p) |
| Returns the min component of a position. | |
| using bitrl::envs::grid_world::detail::board_mask = typedef board_piece |
| typedef std::pair<int, int> bitrl::envs::grid_world::detail::board_position |
Models a position on the board.
| typedef std::vector<std::vector<std::vector<real_t> > > bitrl::envs::grid_world::detail::board_state_type |
Array specifying the state of the board.
| int_t bitrl::envs::grid_world::detail::max | ( | const board_position & | p | ) |
Returns the max component of a position.
| int_t bitrl::envs::grid_world::detail::min | ( | const board_position & | p | ) |
Returns the min component of a position.
| bool bitrl::envs::grid_world::detail::operator!= | ( | const board_position & | p1, |
| const board_position & | p2 | ||
| ) |
Test if two positions are equal.
| board_position bitrl::envs::grid_world::detail::operator+ | ( | const board_position & | p1, |
| const board_position & | p2 | ||
| ) |
Add two positions and return their result.
| bool bitrl::envs::grid_world::detail::operator== | ( | const board_position & | p1, |
| const board_position & | p2 | ||
| ) |
Test if two positions are equal.
| bool bitrl::envs::grid_world::detail::validate_board | ( | const board & | b | ) |