Enum rsgenetic::sim::FitnessType [] [src]

pub enum FitnessType {
    Maximize,
    Minimize,
}

Whether to maximize or to minimize the fitness value.

Variants

Maximize

The Simulation will try to increase the fitness value of phenotypes.

Minimize

The Simulation will try to decrease the fitness value of phenotypes.

Trait Implementations

impl Clone for FitnessType
[src]

fn clone(&self) -> FitnessType

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for FitnessType
[src]