rlmesh::StepEvent
Struct in rlmesh.hpp.
struct StepEventFields
- episode
int64_t episode = 0 - seed
std::optional<int64_t> seed{} - step
int64_t step = 0 - observation
Value observation{} - action
Value action{} - reward
double reward = 0 - terminated
bool terminated = false - truncated
bool terminated = false, truncated = false - info
InfoDict info{} - predict_ms
double predict_ms = 0 - step_ms
double predict_ms = 0, step_ms = 0 - read
ReadFn read{}
episode
field[source]int64_t episode = 0seed
field[source]std::optional<int64_t> seed{}step
field[source]int64_t step = 0observation
field[source]Value observation{}action
field[source]Value action{}reward
field[source]double reward = 0terminated
field[source]bool terminated = falsetruncated
field[source]bool terminated = false, truncated = falseinfo
field[source]InfoDict info{}predict_ms
field[source]double predict_ms = 0step_ms
field[source]double predict_ms = 0, step_ms = 0read
field[source]ReadFn read{}