Struct renforce::environment::Observation [] [src]

pub struct Observation<S: Space> {
    pub state: S::Element,
    pub reward: f64,
    pub done: bool,
}

Observation

Stores the information returned by the environment

Fields

The state of the environment

The reward received by the agent

Whether or not the episode has finished

Trait Implementations

impl<S: Debug + Space> Debug for Observation<S> where S::Element: Debug
[src]

Formats the value using the given formatter.

impl<S: Clone + Space> Clone for Observation<S> where S::Element: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more