Class TerminationByComputingTime

java.lang.Object
org.uma.jmetal.component.catalogue.common.termination.impl.TerminationByComputingTime
All Implemented Interfaces:
Termination

public class TerminationByComputingTime extends Object implements Termination
Class that allows to check the termination condition when the computing time of an algorithm gets higher than a given threshold.
Author:
Antonio J. Nebro <antonio@lcc.uma.es>
  • Constructor Details

    • TerminationByComputingTime

      public TerminationByComputingTime(long maxComputingTime)
  • Method Details

    • isMet

      public boolean isMet(Map<String,Object> algorithmStatusData)
      Specified by:
      isMet in interface Termination
    • getEvaluations

      public int getEvaluations()
    • getMaxComputingTime

      public long getMaxComputingTime()