public class DifferentialEvolutionCrossover extends Object implements CrossoverOperator<DoubleSolution>
| Constructor and Description |
|---|
DifferentialEvolutionCrossover()
Constructor
|
DifferentialEvolutionCrossover(double cr,
double f,
double k,
String variant)
Constructor
|
DifferentialEvolutionCrossover(double cr,
double f,
String variant)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<DoubleSolution> |
execute(List<DoubleSolution> parentSolutions)
Execute() method
|
double |
getCr() |
double |
getF() |
double |
getK() |
String |
getVariant() |
void |
setCurrentSolution(DoubleSolution current) |
public DifferentialEvolutionCrossover()
public DifferentialEvolutionCrossover(double cr,
double f,
String variant)
cr - f - variant - public DifferentialEvolutionCrossover(double cr,
double f,
double k,
String variant)
public double getCr()
public double getF()
public double getK()
public String getVariant()
public void setCurrentSolution(DoubleSolution current)
public List<DoubleSolution> execute(List<DoubleSolution> parentSolutions)
execute in interface Operator<List<DoubleSolution>,List<DoubleSolution>>parentSolutions - The data to processCopyright © 2015. All rights reserved.