public class SimulatedAnnealing extends AbstractOptimizer
SimulatedAnnealing is a standard implementation of the
optimization heuristic. This heuristic optimizes a single objective
(multi-objective problems are optimized by the sum of all objectives).| Constructor and Description |
|---|
SimulatedAnnealing(Population population,
Archive archive,
IndividualFactory individualFactory,
IndividualCompleter completer,
Control control,
Rand random,
Neighbor<Genotype> neighbor,
Copy<Genotype> copy,
Iteration iteration,
CoolingSchedule coolingSchedule)
Constructs a new
SimulatedAnnealing. |
| Modifier and Type | Method and Description |
|---|---|
void |
optimize()
Starts the optimization process.
|
addOptimizerIterationListener, addOptimizerStateListener, getIteration, isRunning, removeOptimizerIterationListener, removeOptimizerStateListener, startOptimization, stopOptimization@Inject public SimulatedAnnealing(Population population, Archive archive, IndividualFactory individualFactory, IndividualCompleter completer, Control control, Rand random, Neighbor<Genotype> neighbor, Copy<Genotype> copy, Iteration iteration, CoolingSchedule coolingSchedule)
SimulatedAnnealing.population - the populationarchive - the archiveindividualFactory - the individual factorycompleter - the completercontrol - the controlrandom - the random number generatorneighbor - the neighbor operatorcopy - the copy operatoriteration - the iteration countercoolingSchedule - the cooling schedulepublic void optimize()
throws TerminationException,
StopException
OptimizerTerminationException - if the optimization is terminatedStopException - if the optimization is stopped