|
bitsim
Model, simulate, estimate and control robots in C++
|
#include <cliff_walk.h>
Public Types | |
| typedef bitrl::uint_t | state_type |
| typedef bitrl::uint_t | action_type |
| typedef bitrl::TimeStep< bitrl::uint_t > | time_step_type |
Public Member Functions | |
| bitrl::uint_t | n_states () const noexcept |
| bitrl::uint_t | n_actions () const noexcept |
| time_step_type | reset () |
| time_step_type | step (action_type a) |
Static Public Member Functions | |
| static bool | is_cliff (bitrl::uint_t s) |
| static bitrl::uint_t | move (bitrl::uint_t s, bitrl::uint_t a) |
| template<typename Policy> | |
| static std::string | draw (const Policy &policy) |
Static Public Attributes | |
| static constexpr bitrl::uint_t | N_ROWS = 4 |
| static constexpr bitrl::uint_t | N_COLS = 12 |
| static constexpr bitrl::uint_t | START = (N_ROWS - 1) * N_COLS |
| static constexpr bitrl::uint_t | GOAL = N_ROWS * N_COLS - 1 |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |