org.opt4j.core.optimizer
Interface IterativeOptimizer

All Known Implementing Classes:
DifferentialEvolution, EvolutionaryAlgorithm, MOPSO, MutateOptimizer, RandomSearch, SimulatedAnnealing

public interface IterativeOptimizer

This IterativeOptimizer interface has to be implemented by all population-based iterative optimizers.

To bind an IterativeOptimizer, use OptimizerModule.bindIterativeOptimizer(java.lang.Class).


Method Summary
 void initialize()
          Initializes the optimization process.
 void next()
          Performs the next iteration in the optimization process.
 

Method Detail

initialize

void initialize()
                throws TerminationException
Initializes the optimization process. Especially, it creates the initial Population.

Throws:
TerminationException - if the optimization is terminated

next

void next()
          throws TerminationException
Performs the next iteration in the optimization process.

Throws:
TerminationException - if the optimization is terminated