|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ec.Statistics | +--ec.simple.SimpleStatistics | +--ec.gp.koza.KozaStatistics
A simple Koza-style statistics generator. Prints the mean fitness (raw,adjusted,hits) and best individual of each generation. At the end, prints the best individual of the run and the number of individuals processed.
If gather-full is true, then final timing information, number of nodes and depths of trees, approximate final memory utilization, etc. are also given.
Parameters
base.gather-full bool = true or false (default) |
(should we full statistics on individuals (will run slower, though the slowness is due to off-line processing that won't mess up timings) |
Field Summary | |
static java.lang.String |
P_FULL
|
Fields inherited from class ec.simple.SimpleStatistics |
best_of_run,
P_STATISTICS_FILE,
statisticslog |
Constructor Summary | |
KozaStatistics()
|
Method Summary | |
void |
finalStatistics(EvolutionState state,
int result)
Logs the best individual of the run. |
void |
postBreedingStatistics(EvolutionState state)
Called immediately after breeding occurs. |
void |
postEvaluationStatistics(EvolutionState state)
Logs the best individual of the generation. |
void |
postInitializationStatistics(EvolutionState state)
Called immediately after population initialization occurs. |
void |
preBreedingStatistics(EvolutionState state)
Called immediately before breeding occurs. |
void |
preEvaluationStatistics(EvolutionState state)
Called immediately before evaluation occurs. |
void |
preInitializationStatistics(EvolutionState state)
Called immediately before population initialization occurs. |
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored in state, built off of the parameter base base. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static java.lang.String P_FULL
Constructor Detail |
public KozaStatistics()
Method Detail |
public void setup(EvolutionState state, Parameter base)
public void preInitializationStatistics(EvolutionState state)
public void postInitializationStatistics(EvolutionState state)
public void preBreedingStatistics(EvolutionState state)
public void postBreedingStatistics(EvolutionState state)
public void preEvaluationStatistics(EvolutionState state)
public void postEvaluationStatistics(EvolutionState state)
public void finalStatistics(EvolutionState state, int result)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |