Trait sim_rust::Environment [−][src]
pub trait Environment {
fn generate(pop: Vec<Box<dyn Agent>>) -> Result<Box<Self>, &'static str>
where
Self: Sized;
fn collect(&self) -> Result<(), &'static str>;
fn tick(&mut self) -> Result<(), &'static str>;
}