Class TerminationByComputingTime

java.lang.Object
org.uma.jmetal.util.termination.impl.TerminationByComputingTime
All Implemented Interfaces:
Termination

public class TerminationByComputingTime
extends java.lang.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
  • Constructor Summary

    Constructors 
    Constructor Description
    TerminationByComputingTime​(int maxComputingTime)  
  • Method Summary

    Modifier and Type Method Description
    int getEvaluations()  
    boolean isMet​(java.util.Map<java.lang.String,​java.lang.Object> algorithmStatusData)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isMet

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

      public int getEvaluations()