jmetal.operators.selection
Class WorstSolutionSelection

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

public class WorstSolutionSelection
extends Selection

This class implements a selection operator used for selecting the worst solution in a SolutionSet according to a given comparator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Operator
parameters_
 
Constructor Summary
WorstSolutionSelection(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
           
 
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

WorstSolutionSelection

public WorstSolutionSelection(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
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 best solution found