Class ParetoOptimalSetStabilityCriterion
java.lang.Object
de.uka.ipd.sdq.tcfmoop.terminationcriteria.AbstractTerminationCriterion
de.uka.ipd.sdq.tcfmoop.terminationcriteria.ParetoOptimalSetStabilityCriterion
- All Implemented Interfaces:
ITerminationCriterion
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.tcfmoop.terminationcriteria.AbstractTerminationCriterion
archive, evaluationResult, name, outputInformation, outputNeedsUpdate, population, suggestedStop
-
Constructor Summary
ConstructorDescriptionParetoOptimalSetStabilityCriterion
(IConfiguration conf, org.opt4j.core.optimizer.Population population, org.opt4j.core.optimizer.Archive archive) -
Method Summary
Modifier and TypeMethodDescriptionvoid
evaluateImpl
(int iteration, long currentTime) The implementation of the Evaluation logic is placed here.void
Methods inherited from class de.uka.ipd.sdq.tcfmoop.terminationcriteria.AbstractTerminationCriterion
evaluate, getEvaluationResult, getName, getOutputInformation
-
Constructor Details
-
ParetoOptimalSetStabilityCriterion
public ParetoOptimalSetStabilityCriterion(IConfiguration conf, org.opt4j.core.optimizer.Population population, org.opt4j.core.optimizer.Archive archive)
-
-
Method Details
-
evaluateImpl
public void evaluateImpl(int iteration, long currentTime) The implementation of the Evaluation logic is placed here. Implements the Pareto Optimal Set Stability Criterion: This criterion evaluates how many candidates have remained pareto optimal and for how many iterations. If the numbers reach the supplied requirements this criterion decides that the spareto optimal set is stable enough and probably would not change in the near future. And therefore suggests the termination of the optimization.- Specified by:
evaluateImpl
in classAbstractTerminationCriterion
- Parameters:
iteration
- - The number of the current iterationcurrentTime
- - The current time
-
updateOutputInformation
public void updateOutputInformation()- Specified by:
updateOutputInformation
in classAbstractTerminationCriterion
-