pub struct MetaObservationSpace<OS, AS, FSI> {
    pub inner_observation: OptionSpace<OS>,
    pub prev_step: OptionSpace<InnerStepObsSpace<AS, FSI>>,
    pub episode_done: BooleanSpace,
}
Expand description

MetaEnv observation space for element MetaObservation.

Note

The generic feedback space type FSI is the inner feedback space E::FeedbackSpace::InnerSpace for MetaEnv<E>.

Fields

inner_observation: OptionSpace<OS>prev_step: OptionSpace<InnerStepObsSpace<AS, FSI>>episode_done: BooleanSpace

Trait Implementations

Type of agent to build

Build an agent for the given environment structure (EnvStructure). 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

Generate a random value of T, using rng as the source of randomness.

Create an iterator that generates random values of T, using rng as the source of randomness. Read more

Create a distribution of values of ‘S’ by mapping the output of Self through the closure F Read more

Length of the encoded feature vectors.

Encode the feature vector of an element into a mutable slice. Read more

Encode the feature vector of an element into an array.

Encode the feature vectors of multiple elements into rows of a two-dimensional array. Read more

Encode the feature vectors of multiple elements as rows of a two-dimensional array.

Log an element of the space

An arbitrary deterministic element from the space.

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

This method tests for !=.

Check whether a particular value is contained in the space.

Compare using the subset relationship. This is a partial order.

Check if this is a strict subset of other.

Check if this is a subset (strict or equal) of other.

Check if this is a strict superset of other.

Check if this is a superset (strict or equal) of other.

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.