Trait cosyne::Environment[][src]

pub trait Environment {
    fn evaluate(&self, nn: &mut ANN) -> f64;
}

Environment to test the neural network in

Required methods

fn evaluate(&self, nn: &mut ANN) -> f64[src]

Return the fitness of a given neural network in the environment. Higher values indicate a more fit candidate

Loading content...

Implementors

Loading content...