public static final class GeneticAlgorithm.Statistics extends StatisticsLogger.LoggableStatistics
Modifier and Type | Method and Description |
---|---|
long |
getExecutionTime()
Returns the algorithm execution time.
|
long |
getFitnessEvalStageBegin()
Returns the timestamp of the last fitness evaluation stage begin.
|
long |
getFitnessEvalStageBegin(int gen)
Returns the timestamp (in millisecond) in wich the fitness evaluation
has begin for the given generation.
|
long |
getFitnessEvalStageEnd()
Returns the timestamp of the last fitness evaluation stage end.
|
long |
getFitnessEvalStageEnd(int gen)
Returns the timestamp at wich the fitness evaluation stage has ended
for the given generation.
|
int |
getFitnessEvaluationNumbers()
Returns the fitness evaluation number.
|
long |
getGenerationEndTime(int gen)
Returns the generation end time of the specified generation.
|
int |
getGenerationLimit()
Returns the algorithm generation limit.
|
int |
getGenerations()
Returns the last generation counter.
|
long |
getInitTime()
Returns the algorithm init time.
|
long |
getRandomSeed()
Returns the random seed used during the execution of the algorithm instance
|
long |
getStartTime()
Returns the algorithm starting time.
|
long |
getStopTime()
Returns the algorithm stoppping time.
|
long |
getTimeSpentForFitnessEval()
Returns the current time spent in fitness evaluation.
|
boolean |
isExceptionTerminated()
Says if an exception terminated the evolution.
|
getFigures, getValue
public final long getStartTime()
public final long getStopTime()
public final long getInitTime()
public final long getExecutionTime()
public final int getGenerations()
public final int getGenerationLimit()
public final long getGenerationEndTime(int gen)
gen
- the generation with end time is desideredpublic final boolean isExceptionTerminated()
public int getFitnessEvaluationNumbers()
public long getFitnessEvalStageBegin()
public long getFitnessEvalStageBegin(int gen)
the
- generation to query for starting from 1public long getFitnessEvalStageEnd()
public long getFitnessEvalStageEnd(int gen)
the
- generation to query for starting from 1public long getTimeSpentForFitnessEval()
public long getRandomSeed()
Random.getSeed()