[][src]Trait rust_ga::ga::Genome

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

Required methods

fn new() -> Self

fn fitness(&self) -> f64

fn cross(&self, other: &Self) -> Self

fn mutate(self) -> Self

fn display(&self)

Loading content...

Implementors

Loading content...