Trait Genome
rust_ga::ga
pub trait Genome { fn new() -> Self; fn fitness(&self) -> f64; fn cross(&self, other: &Self) -> Self; fn mutate(self) -> Self; fn display(&self); }
fn new() -> Self
fn fitness(&self) -> f64
fn cross(&self, other: &Self) -> Self
fn mutate(self) -> Self
fn display(&self)