public class DifferentialEvolution extends AbstractOptimizer
| Constructor and Description |
|---|
DifferentialEvolution(Population population,
Archive archive,
IndividualFactory individualFactory,
IndividualCompleter completer,
Control control,
Algebra<Genotype> algebra,
Selector selector,
Rand random,
Crossover<Genotype> crossover,
Iteration iteration,
int alpha,
double scalingFactor)
Constructs a
DifferentialEvolution. |
| Modifier and Type | Method and Description |
|---|---|
void |
optimize()
Starts the optimization process.
|
addOptimizerIterationListener, addOptimizerStateListener, getIteration, isRunning, removeOptimizerIterationListener, removeOptimizerStateListener, startOptimization, stopOptimization@Inject public DifferentialEvolution(Population population, Archive archive, IndividualFactory individualFactory, IndividualCompleter completer, Control control, Algebra<Genotype> algebra, Selector selector, Rand random, Crossover<Genotype> crossover, Iteration iteration, int alpha, double scalingFactor)
DifferentialEvolution.population - the populationarchive - the archiveindividualFactory - the individual factorycompleter - the completercontrol - the controlalgebra - the algebra operatorselector - the selectorrandom - the random number generatorcrossover - the crossover operatoriteration - the iteration counteralpha - the population sizescalingFactor - the scaling factor Fpublic void optimize()
throws StopException,
TerminationException
OptimizerStopException - if the optimization is stoppedTerminationException - if the optimization is terminated