public class PolynomialMutation extends Object implements MutationOperator<DoubleSolution>
| Constructor and Description |
|---|
PolynomialMutation(double mutationProbability,
double distributionIndex)
Constructor
|
PolynomialMutation(double mutationProbability,
double distributionIndex,
RepairDoubleSolution solutionRepair)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
doMutation(double probability,
DoubleSolution solution)
Perform the mutation operation
|
DoubleSolution |
execute(DoubleSolution solution)
Execute() method
|
double |
getDistributionIndex() |
double |
getMutationProbability() |
public PolynomialMutation(double mutationProbability,
double distributionIndex)
public PolynomialMutation(double mutationProbability,
double distributionIndex,
RepairDoubleSolution solutionRepair)
public double getMutationProbability()
public double getDistributionIndex()
public DoubleSolution execute(DoubleSolution solution) throws JMetalException
execute in interface Operator<DoubleSolution,DoubleSolution>solution - the data to processJMetalExceptionpublic void doMutation(double probability,
DoubleSolution solution)
throws JMetalException
JMetalExceptionCopyright © 2015. All rights reserved.