|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.moeaframework.util.progress.ProgressEvent
public class ProgressEvent
A progress report, including the percent complete, elapsed time, and
remaining time. These reports are generated by ProgressHelper.
| Constructor Summary | |
|---|---|
ProgressEvent(Executor executor,
int currentSeed,
int totalSeeds,
boolean isSeedFinished,
int currentNFE,
int maxNFE,
double percentComplete,
double elapsedTime,
double remainingTime)
Constructs a new progress report with the given values. |
|
| Method Summary | |
|---|---|
int |
getCurrentNFE()
Returns the current number of objective function evaluations for the current seed. |
int |
getCurrentSeed()
Returns the current seed being evaluated, starting at 1. |
double |
getElapsedTime()
Returns the elapsed time in seconds. |
Executor |
getExecutor()
Returns the executor from which these progress reports originate. |
int |
getMaxNFE()
Returns the maximum number of objective function evaluations per seed. |
double |
getPercentComplete()
Returns the percent complete as a fraction between 0 and
1. |
double |
getRemainingTime()
Returns the estimated remaining time in seconds. |
int |
getTotalSeeds()
Returns the total number of seeds to be evaluated. |
boolean |
isSeedFinished()
Returns true if this event was created in response to a seed
finishing; false otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProgressEvent(Executor executor,
int currentSeed,
int totalSeeds,
boolean isSeedFinished,
int currentNFE,
int maxNFE,
double percentComplete,
double elapsedTime,
double remainingTime)
executor - the executor from which these progress reports originatecurrentSeed - the current seed being evaluated, starting at 1totalSeeds - the total number of seeds to be evaluatedisSeedFinished - true if this event was created in response
to a seed finishing; false otherwisecurrentNFE - the current number of objective function evaluations
for the current seed.maxNFE - the maximum number of objective function evaluations per
seedpercentComplete - the percent complete as a fraction between
0 and 1elapsedTime - the elapsed time in secondsremainingTime - the estimated remaining time in seconds| Method Detail |
|---|
public Executor getExecutor()
public int getCurrentSeed()
public int getTotalSeeds()
public boolean isSeedFinished()
true if this event was created in response to a seed
finishing; false otherwise. This indicates that new results are
available in the executor.
true if this event was created in response to a seed
finishing; false otherwisepublic int getCurrentNFE()
public int getMaxNFE()
public double getPercentComplete()
0 and
1.
0 and
1public double getElapsedTime()
public double getRemainingTime()
|
MOEA Framework 2.5 API Specification |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||