Class ProgressExtension.ProgressEvent
java.lang.Object
org.moeaframework.algorithm.extension.ProgressExtension.ProgressEvent
- Enclosing class:
- ProgressExtension
A progress event, including the percent complete, elapsed time, and estimated remaining time.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the algorithm that is currently running.Returns the elapsed time.double
Returns the percent complete as a value between0.0
and100.0
.Returns the estimated remaining time.
-
Method Details
-
getAlgorithm
Returns the algorithm that is currently running.- Returns:
- the algorithm currently running
-
getPercentComplete
public double getPercentComplete()Returns the percent complete as a value between0.0
and100.0
.- Returns:
- the percent complete as a fraction between
0.0
and100.0
-
getElapsedTime
Returns the elapsed time.- Returns:
- the elapsed time
-
getRemainingTime
Returns the estimated remaining time.- Returns:
- the estimated remaining time
-