Trait renforce::environment::Space [] [src]

pub trait Space: Debug {
    type Element: Debug + PartialEq + Clone;
    fn sample(&self) -> Self::Element;
}

Space Trait

Represents a {State, Action} Space

Associated Types

The type of members of the Space

Required Methods

Returns a random element of this space

Implementors