public interface Mating
Mating interface is used to create offspring from a given set of
parents.| Modifier and Type | Method and Description |
|---|---|
Collection<Individual> |
getOffspring(int size,
Collection<Individual> parents)
Creates offspring from a given set of parents.
|
Collection<Individual> |
getOffspring(int size,
Individual... parents)
Creates offspring from a given set of parents.
|
Collection<Individual> getOffspring(int size, Individual... parents)
size - the number of individuals to createparents - the parentsCollection<Individual> getOffspring(int size, Collection<Individual> parents)
size - the number of individuals to createparents - the parents