Trait border_core::core::base::Env [−][src]
pub trait Env { type Obs: Obs; type Act: Act; type Info: Info; fn step(&mut self, a: &Self::Act) -> (Step<Self>, Record)
where
Self: Sized; fn reset(
&mut self,
is_done: Option<&Vec<i8>>
) -> Result<Self::Obs, Box<dyn Error>>; }
Expand description
Represents an environment, typically an MDP.
Associated Types
type Info: Info
[src]
type Info: Info
[src]Information in the self::Step object.