rlmesh::types::PredictContext
What a context-reading corner learns about the episode it predicts for.
struct PredictContext<'a>Fields
- episode_idThe episode's id (
""for an anonymous row). - episode_seedThe episode's reset seed, fixed at its first predict.
- predict_indexHow many context-reading predicts the episode had before this one.
- predict_seed
predict_seed(episode_seed, predict_index),Nonewhen the episode is unseeded or anonymous. - stateThe episode's free state.
episode_id
field[source]episode_id: &'a strThe episode’s id ("" for an anonymous row).
episode_seed
field[source]episode_seed: Option<i64>The episode’s reset seed, fixed at its first predict.
predict_index
field[source]predict_index: u64How many context-reading predicts the episode had before this one.
predict_seed
field[source]predict_seed: Option<i64>predict_seed(episode_seed, predict_index),
None when the episode is unseeded or anonymous.
state
field[source]state: &'a mut EpisodeStateThe episode’s free state.
Trait implementations
- impl<'a> Debug for PredictContext<'a>