Class CDGMutation
java.lang.Object
org.uma.jmetal.operator.mutation.impl.CDGMutation
- All Implemented Interfaces:
Serializable,MutationOperator<DoubleSolution>,Operator<DoubleSolution,DoubleSolution>
This class implements a polynomial mutation operator
The implementation is based on the NSGA-II code available in
http://www.iitk.ac.in/kangal/codes.shtml
If the lower and upper bounds of a variable are the same, no mutation is carried out and the
bound value is returned.
- Author:
- Feng Zhang
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorCDGMutation(double mutationProbability, double delta) ConstructorCDGMutation(double mutationProbability, double delta, RepairDoubleSolution solutionRepair) ConstructorCDGMutation(DoubleProblem problem, double delta) Constructor -
Method Summary
Modifier and TypeMethodDescriptionexecute(DoubleSolution solution) Execute() methoddoublegetDelta()doublevoidsetDelta(double delta) voidsetMutationProbability(double probability)
-
Constructor Details
-
CDGMutation
public CDGMutation()Constructor -
CDGMutation
Constructor -
CDGMutation
public CDGMutation(double mutationProbability, double delta) Constructor -
CDGMutation
Constructor
-
-
Method Details
-
mutationProbability
public double mutationProbability()- Specified by:
mutationProbabilityin interfaceMutationOperator<DoubleSolution>
-
getDelta
public double getDelta() -
setMutationProbability
public void setMutationProbability(double probability) -
setDelta
public void setDelta(double delta) -
execute
Execute() method- Specified by:
executein interfaceMutationOperator<DoubleSolution>- Specified by:
executein interfaceOperator<DoubleSolution,DoubleSolution> - Parameters:
solution- The data to process- Throws:
JMetalException
-