jmetal.operators.localSearch
Class MutationLocalSearch

java.lang.Object
  extended by jmetal.core.Operator
      extended by jmetal.operators.localSearch.LocalSearch
          extended by jmetal.operators.localSearch.MutationLocalSearch
All Implemented Interfaces:
java.io.Serializable

public class MutationLocalSearch
extends LocalSearch

This class implements an local search operator based in the use of a mutation operator. An archive is used to store the non-dominated solutions found during the search.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Operator
parameters_
 
Constructor Summary
MutationLocalSearch(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
          Constructor.
 
Method Summary
 java.lang.Object execute(java.lang.Object object)
          Executes the local search.
 int getEvaluations()
          Returns the number of evaluations maded
 
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

MutationLocalSearch

public MutationLocalSearch(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Constructor. Creates a new local search object.

Parameters:
parameters - The parameters
Method Detail

execute

public java.lang.Object execute(java.lang.Object object)
                         throws JMException
Executes the local search. The maximum number of iterations is given by the param "improvementRounds", which is in the parameter list of the operator. The archive to store the non-dominated solutions is also in the parameter list.

Specified by:
execute in class Operator
Parameters:
object - Object representing a solution
Returns:
An object containing the new improved solution
Throws:
JMException

getEvaluations

public int getEvaluations()
Returns the number of evaluations maded

Specified by:
getEvaluations in class LocalSearch