Package org.opt4j.optimizer.ea
Interface Coupler
- All Known Implementing Classes:
CouplerDefault
,CouplerRandom
,CouplerUnique
public interface Coupler
The
Coupler
determines couples that are used to create the offspring
for a given set of possible parents.-
Method Summary
Modifier and TypeMethodDescriptiongetCouples
(int size, List<Individual> parents) Returns a list ofIndividual
-groups (couples) that are designated to create offspring.
-
Method Details
-
getCouples
Returns a list ofIndividual
-groups (couples) that are designated to create offspring.- Parameters:
size
- the number of couples to createparents
- the parents- Returns:
- the selected couples
-