Trait genevo::genetic::Genotype [] [src]

pub trait Genotype: Clone + Debug + PartialEq + Send + Sync {
    type Dna: Clone + Debug + PartialEq;
}

A Genotype defines those properties of a Phenotype that are relevant for the genetic algorithm. Respectively they are used to determine the Fitness value of the solution candidate. These properties are also called chromosomes.

In order to achieve an efficient execution of the genetic algorithm these properties should be stored in a compact form such as strings or vectors of primitive types.

Associated Types

Implementations on Foreign Types

impl Genotype for FixedBitSet
[src]

Implementation of genotype using fixedbistset::FixedBitSet.

impl<V> Genotype for Vec<V> where
    V: Clone + Debug + PartialEq + Send + Sync
[src]

Implementation of a genotype using Vec.

Implementors