|
bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
|
Forward declaration. More...
#include <time_step.h>
Public Types | |
| typedef StateTp | state_type |
| state_ Type of the state | |
Public Member Functions | |
| TimeStep () | |
| TimeStep. | |
| TimeStep (TimeStepTp type, real_t reward, const state_type &obs) | |
| TimeStep. Constructor. | |
| TimeStep (TimeStepTp type, real_t reward, const state_type &obs, real_t discount_factor) | |
| TimeStep. Constructor. | |
| TimeStep (TimeStepTp type, real_t reward, const state_type &obs, real_t discount_factor, std::unordered_map< std::string, std::any > &&extra) | |
| TimeStep. Constructor. | |
| TimeStep (const TimeStep &other) | |
| TimeStep. | |
| TimeStep & | operator= (const TimeStep &other) |
| Assignment operator. | |
| TimeStep (TimeStep &&other) noexcept | |
| TimeStep. | |
| TimeStep & | operator= (TimeStep &&other) noexcept |
| operator = | |
| bool | first () const noexcept |
| first | |
| bool | mid () const noexcept |
| mid | |
| bool | last () const noexcept |
| last | |
| TimeStepTp | type () const noexcept |
| type | |
| state_type | observation () const |
| observation | |
| real_t | reward () const noexcept |
| reward | |
| real_t | discount () const noexcept |
| discount. Returns the discount factor | |
| bool | done () const noexcept |
| done | |
| void | clear () noexcept |
| clear | |
| template<typename T > | |
| const T & | get_extra (std::string name) const |
| get_extra | |
| const std::unordered_map< std::string, std::any > & | info () const noexcept |
| info | |
| std::unordered_map< std::string, std::any > & | info () noexcept |
| info | |
| typedef StateTp bitrl::TimeStep< StateTp >::state_type |
state_ Type of the state
| bitrl::TimeStep< StateTp >::TimeStep | ( | ) |
| bitrl::TimeStep< StateTp >::TimeStep | ( | TimeStepTp | type, |
| real_t | reward, | ||
| const state_type & | obs | ||
| ) |
TimeStep. Constructor.
| bitrl::TimeStep< StateTp >::TimeStep | ( | TimeStepTp | type, |
| real_t | reward, | ||
| const state_type & | obs, | ||
| real_t | discount_factor | ||
| ) |
TimeStep. Constructor.
| bitrl::TimeStep< StateTp >::TimeStep | ( | TimeStepTp | type, |
| real_t | reward, | ||
| const state_type & | obs, | ||
| real_t | discount_factor, | ||
| std::unordered_map< std::string, std::any > && | extra | ||
| ) |
TimeStep. Constructor.
| bitrl::TimeStep< StateTp >::TimeStep | ( | const TimeStep< StateTp > & | other | ) |
| other |
|
noexcept |
| other |
|
noexcept |
clear
|
inlinenoexcept |
discount. Returns the discount factor
|
inlinenoexcept |
done
|
inlinenoexcept |
first
| const T & bitrl::TimeStep< StateTp >::get_extra | ( | std::string | name | ) | const |
get_extra
|
inlinenoexcept |
info
|
inlinenoexcept |
info
|
inlinenoexcept |
last
|
inlinenoexcept |
mid
|
inline |
observation
| TimeStep< StateTp > & bitrl::TimeStep< StateTp >::operator= | ( | const TimeStep< StateTp > & | other | ) |
Assignment operator.
|
noexcept |
operator =
| other |
|
inlinenoexcept |
reward
|
inlinenoexcept |
type