pub struct MetaObservation<O, A, FI> {
    pub inner_observation: Option<O>,
    pub prev_step: Option<InnerStepObs<A, FI>>,
    pub episode_done: bool,
}
Expand description

An observation from a meta enviornment.

Note

The generic feedback type FI is the inner feedback E::Feedback::Inner for MetaEnv<E>.

Fields

inner_observation: Option<O>

The current inner observation on which the next step will act.

Is None if this is a terminal state, in which case episode_done must be True.

prev_step: Option<InnerStepObs<A, FI>>

Observation of the previous inner step.

Is None if this is the first step of an inner episode.

episode_done: bool

Whether the previous step ended the inner episode.

Trait Implementations

Stores state for each episode.

Create the initial actor state for the start of a new episode.

Select an action in response to an observation. Read more

Produces actions for a sequence of environment observations.

Create a new Actor with the given behaviour mode. Read more

No updates at the meta-level.

Environment feedback type

Create a new history buffer.

Request a minimum amount of on-policy data for the next batch update.

Update the agent from a collection of history buffers. Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Convert into an Any trait reference.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.