Class DSEListener

  • All Implemented Interfaces:
    org.opt4j.core.optimizer.OptimizerIterationListener

    public class DSEListener
    extends Object
    implements org.opt4j.core.optimizer.OptimizerIterationListener
    Adds the possibility to terminate a run in the eclipse Progress view. If cancel operation is clicked there, IProgressMonitor.isCanceled evaluates to true and the optimisation is asked to terminate after completing the current iteration.
    • Method Detail

      • iterationComplete

        public void iterationComplete​(org.opt4j.core.optimizer.Optimizer optimizer,
                                      int iteration)
        Specified by:
        iterationComplete in interface org.opt4j.core.optimizer.OptimizerIterationListener
      • getIteration

        public int getIteration()