pub type Parents<G> = Vec<G>;
Expand description
The Parents
type defines a tuple of individuals that are needed for
breeding one offspring. The operator::SelectionOp
selects a list of
parents which are taken by the operator::CrossoverOp
for breeding
the offspring.
Commonly parents are defined as tuple of two Genotype
s but some
derivation of the genetic algorithm wants to use three or more
Genotype
s for breeding.
Note: For an efficient and easy to use implementation the logical tuple of parents is software technically typed as vector.