Function sim_rust::functions::generate_env [−][src]
pub fn generate_env<E: 'static + Environment, A: 'static + Agent>(
pop_size: u64
) -> Result<Box<dyn Environment>, &'static str>
Expand description
Generates a custom environment specified agent. This environment is the standard implementation and does not provide any custom behavior.