Trait rustneat::environment::Environment
[−]
[src]
pub trait Environment: Sync { fn test(&self, organism: &mut Organism) -> f64; }
A trait that is implemented by user to allow test of the Environment.
Required Methods
fn test(&self, organism: &mut Organism) -> f64
This test will return the value required by this enviroment to test against