Class ProgressExtension.ProgressEvent

java.lang.Object
org.moeaframework.algorithm.extension.ProgressExtension.ProgressEvent
Enclosing class:
ProgressExtension

public static class ProgressExtension.ProgressEvent extends Object
A progress event, including the percent complete, elapsed time, and estimated remaining time.
  • Method Details

    • getAlgorithm

      public Algorithm getAlgorithm()
      Returns the algorithm that is currently running.
      Returns:
      the algorithm currently running
    • getPercentComplete

      public double getPercentComplete()
      Returns the percent complete as a value between 0.0 and 100.0.
      Returns:
      the percent complete as a fraction between 0.0 and 100.0
    • getElapsedTime

      public Duration getElapsedTime()
      Returns the elapsed time.
      Returns:
      the elapsed time
    • getRemainingTime

      public Duration getRemainingTime()
      Returns the estimated remaining time.
      Returns:
      the estimated remaining time