jmetal.operators.mutation
Class PolynomialBitFlipMutation

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

public class PolynomialBitFlipMutation
extends Mutation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Operator
parameters_
 
Constructor Summary
PolynomialBitFlipMutation(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
          Constructor
 
Method Summary
 void doMutation(java.lang.Double realProbability, java.lang.Double binaryProbability, Solution solution)
          doMutation method
 java.lang.Object execute(java.lang.Object object)
          Abstract method that must be defined by all the operators.
 
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

PolynomialBitFlipMutation

public PolynomialBitFlipMutation(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Constructor

Method Detail

execute

public java.lang.Object execute(java.lang.Object object)
                         throws JMException
Description copied from class: Operator
Abstract method that must be defined by all the operators. When invoked, this method executes the operator represented by the current object.

Specified by:
execute in class Operator
Parameters:
object - This param inherits from Object to allow different kinds of parameters for each operator. For example, a selection operator typically receives a SolutionSet as a parameter, while a mutation operator receives a Solution.
Returns:
An object reference. The returned value depends on the operator.
Throws:
JMException

doMutation

public void doMutation(java.lang.Double realProbability,
                       java.lang.Double binaryProbability,
                       Solution solution)
                throws JMException
doMutation method

Parameters:
realProbability -
binaryProbability -
solution -
Throws:
JMException