Class NaryTournamentSelection<S extends Solution<?>>
java.lang.Object
org.uma.jmetal.operator.selection.impl.NaryTournamentSelection<S>
- All Implemented Interfaces:
Serializable,Operator<List<S>,,S> SelectionOperator<List<S>,S>
- Direct Known Subclasses:
BinaryTournamentSelection
public class NaryTournamentSelection<S extends Solution<?>>
extends Object
implements SelectionOperator<List<S>,S>
Applies a N-ary tournament selection to return the best solution between N that have been chosen
at random from a solution list.
- Author:
- Antonio J. Nebro
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorNaryTournamentSelection(int tournamentSize, Comparator<S> comparator) Constructor -
Method Summary
-
Constructor Details
-
NaryTournamentSelection
public NaryTournamentSelection()Constructor -
NaryTournamentSelection
Constructor
-
-
Method Details
-
execute
-
getTournamentSize
public int getTournamentSize()
-