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
state: S::Element
The state of the environment
reward: f64
The reward received by the agent
done: bool
Whether or not the episode has finished
Trait Implementations
impl<S: Debug + Space> Debug for Observation<S> where S::Element: Debug[src]
impl<S: Clone + Space> Clone for Observation<S> where S::Element: Clone[src]
fn clone(&self) -> Observation<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more