Trait rsgenetic::sim::Simulation
[−]
[src]
pub trait Simulation<T: Phenotype>: Selector<T> {
fn run(&mut self);
fn get(&self) -> Box<T>;
}A Simulation is an execution of a genetic algorithm.
Required Methods
fn run(&mut self)
Run the simulation.
fn get(&self) -> Box<T>
Get the best performing result of the simulation when it has ended.
Implementors
impl<T: Phenotype> Simulation<T> for Simulator<T>