Class DSEListener
java.lang.Object
de.uka.ipd.sdq.dsexplore.opt4j.start.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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
iterationComplete
(org.opt4j.core.optimizer.Optimizer optimizer, int iteration)
-
Constructor Details
-
DSEListener
-
-
Method Details
-
iterationComplete
public void iterationComplete(org.opt4j.core.optimizer.Optimizer optimizer, int iteration) - Specified by:
iterationComplete
in interfaceorg.opt4j.core.optimizer.OptimizerIterationListener
-
getIteration
public int getIteration()
-