jeco.kernel.operator.selector
Class TournamentSelect
java.lang.Object
jeco.kernel.operator.selector.SelectionOperator
jeco.kernel.operator.selector.TournamentSelect
public class TournamentSelect
- extends SelectionOperator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TOURNAMENT_SIZE
public static final int DEFAULT_TOURNAMENT_SIZE
- See Also:
- Constant Field Values
comparator
protected java.util.Comparator<Solution> comparator
tournamentSize
protected int tournamentSize
TournamentSelect
public TournamentSelect(int tournamentSize,
java.util.Comparator<Solution> comparator)
TournamentSelect
public TournamentSelect(java.util.Comparator<Solution> comparator)
TournamentSelect
public TournamentSelect()
execute
public Solution execute(Solutions solutions)
- Specified by:
execute
in class SelectionOperator