public interface Coupler
Coupler determines couples that are used to create the offspring
for a given set of possible parents.| Modifier and Type | Method and Description |
|---|---|
Collection<Pair<Individual>> |
getCouples(int size,
List<Individual> parents)
Returns a list of
Individual-groups (couples) that are designated
to create offspring. |
Collection<Pair<Individual>> getCouples(int size, List<Individual> parents)
Individual-groups (couples) that are designated
to create offspring.size - the number of couples to createparents - the parents