jmetal.operators.selection
Class BinaryTournament

java.lang.Object
  extended by jmetal.core.Operator
      extended by jmetal.operators.selection.Selection
          extended by jmetal.operators.selection.BinaryTournament
All Implemented Interfaces:
java.io.Serializable

public class BinaryTournament
extends Selection

This class implements an binary tournament selection operator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Operator
parameters_
 
Constructor Summary
BinaryTournament(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
          Constructor Creates a new Binary tournament operator using a BinaryTournamentComparator
 
Method Summary
 java.lang.Object execute(java.lang.Object object)
          Performs the operation
 
Methods inherited from class jmetal.core.Operator
getParameter, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryTournament

public BinaryTournament(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Constructor Creates a new Binary tournament operator using a BinaryTournamentComparator

Method Detail

execute

public java.lang.Object execute(java.lang.Object object)
Performs the operation

Specified by:
execute in class Operator
Parameters:
object - Object representing a SolutionSet
Returns:
the selected solution