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>;
}Expand description
Represents an environment, typically an MDP.
Associated Types
Information in the self::Step object.
Required methods
Performes an interaction step.