Class ElapsedTimeCriterion

java.lang.Object
de.uka.ipd.sdq.tcfmoop.terminationcriteria.AbstractTerminationCriterion
de.uka.ipd.sdq.tcfmoop.terminationcriteria.ElapsedTimeCriterion
All Implemented Interfaces:
ITerminationCriterion

public class ElapsedTimeCriterion extends AbstractTerminationCriterion
  • Constructor Details

    • ElapsedTimeCriterion

      public ElapsedTimeCriterion(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 ElapsedTime Criterion: This criterion measures either the CPU time (if possible) or the Clock time. When the execution time goes past a certain value, the criterion will report that the optimization should be stopped.
      Specified by:
      evaluateImpl in class AbstractTerminationCriterion
      Parameters:
      iteration - - The number of the current iteration
      currentTime - - The current time
    • updateOutputInformation

      public void updateOutputInformation()
      Specified by:
      updateOutputInformation in class AbstractTerminationCriterion