Trait entity_gym_rs::low_level::Environment
source · [−]pub trait Environment {
fn obs_space(&self) -> ObsSpace;
fn action_space(&self) -> Vec<(ActionType, ActionSpace)>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn agents(&self) -> usize;
fn reset(&mut self) -> Vec<Box<Observation>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn act(&mut self, action: &[Vec<Option<Action>>]) -> Vec<Box<Observation>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
fn close(&mut self) { ... }
}
Required Methods
fn action_space(&self) -> Vec<(ActionType, ActionSpace)>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,