|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpalta.ops.IndSelector
gpalta.ops.IndSelectorTournament
public class IndSelectorTournament
Implements Tournament selection. Assumes populationSize mod tournamentSize = 0
Constructor Summary | |
---|---|
IndSelectorTournament(Config config)
|
Method Summary | ||
---|---|---|
|
select(java.util.List<T> population)
Performs the selection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndSelectorTournament(Config config)
Method Detail |
---|
public <T extends Individual> java.util.List<T> select(java.util.List<T> population)
select
in class IndSelector
population
- A list of Trees from where to select the individuals
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |