pub type PartialStep<O, A, F = Reward> = Step<O, A, F, ()>;
Expand description

Partial description of an environment step.

The successor state is omitted when the episode continues. Using this can help avoid copying the observation.

Implementations

Convert a partial step into a transient step using the given reference to the next step.

Try to convert into a transient step with no successor.

Succeeds so long as self.next is not Successor::Continue.