jmetal.operators.mutation
Class NonUniformMutation

java.lang.Object
  extended by jmetal.core.Operator
      extended by jmetal.operators.mutation.Mutation
          extended by jmetal.operators.mutation.NonUniformMutation
All Implemented Interfaces:
java.io.Serializable

public class NonUniformMutation
extends Mutation

This class implements a non-uniform mutation operator.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Operator
parameters_
 
Constructor Summary
NonUniformMutation(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
          Constructor Creates a new instance of the non uniform mutation
 
Method Summary
 void doMutation(double probability, Solution solution)
          Perform the mutation operation
 java.lang.Object execute(java.lang.Object object)
          Executes 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

NonUniformMutation

public NonUniformMutation(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Constructor Creates a new instance of the non uniform mutation

Method Detail

doMutation

public void doMutation(double probability,
                       Solution solution)
                throws JMException
Perform the mutation operation

Parameters:
probability - Mutation probability
solution - The solution to mutate
Throws:
JMException

execute

public java.lang.Object execute(java.lang.Object object)
                         throws JMException
Executes the operation

Specified by:
execute in class Operator
Parameters:
object - An object containing a solution
Returns:
An object containing the mutated solution
Throws:
JMException