|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmoea.moga.selector.Selector
moea.moga.selector.TournamentSelector
public class TournamentSelector
Field Summary | |
---|---|
protected int[] |
tournament
|
protected int |
tournamentSize
|
Fields inherited from class moea.moga.selector.Selector |
---|
comparator, pool |
Constructor Summary | |
---|---|
TournamentSelector(java.util.Comparator<Entity> comparator,
int tournamentSize)
|
Method Summary | |
---|---|
protected void |
generateTournament(Population<Chromosome> pop,
int size)
|
void |
update(Population<Chromosome> pop)
|
Methods inherited from class moea.moga.selector.Selector |
---|
initialize, select |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] tournament
protected int tournamentSize
Constructor Detail |
---|
public TournamentSelector(java.util.Comparator<Entity> comparator, int tournamentSize)
Method Detail |
---|
public void update(Population<Chromosome> pop)
update
in class Selector
protected void generateTournament(Population<Chromosome> pop, int size)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |