|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectec.Statistics
ec.app.sequence.StatisticPluginForHallofFame
public class StatisticPluginForHallofFame
This class is meant for getting plugin for HallOfFame. By using this we get hook when evaluations are done, we try to rank the Individuals based on fitness. It uses size using the parameter hall-of-fame and writes the top individuals to hall-of-fame-file parameter value file. This can then be used for interpretation.
Field Summary |
---|
Fields inherited from class ec.Statistics |
---|
children, P_CHILD, P_NUMCHILDREN |
Constructor Summary | |
---|---|
StatisticPluginForHallofFame()
|
Method Summary | |
---|---|
void |
finalStatistics(ec.EvolutionState state,
int result)
Called immediately after the run has completed. |
void |
postEvaluationStatistics(ec.EvolutionState state)
GENERATIONAL: Called immediately after evaluation occurs. |
void |
setup(ec.EvolutionState state,
ec.util.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 ec.Statistics |
---|
enteringInitialPopulationStatistics, enteringSteadyStateStatistics, generationBoundaryStatistics, individualsBredStatistics, individualsEvaluatedStatistics, postBreedingStatistics, postCheckpointStatistics, postInitializationStatistics, postPostBreedingExchangeStatistics, postPreBreedingExchangeStatistics, preBreedingStatistics, preCheckpointStatistics, preEvaluationStatistics, preInitializationStatistics, prePostBreedingExchangeStatistics, prePreBreedingExchangeStatistics |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatisticPluginForHallofFame()
Method Detail |
---|
public void setup(ec.EvolutionState state, ec.util.Parameter base)
ec.Setup
setup
in interface ec.Setup
setup
in class ec.Statistics
public void postEvaluationStatistics(ec.EvolutionState state)
ec.Statistics
postEvaluationStatistics
in class ec.Statistics
public void finalStatistics(ec.EvolutionState state, int result)
ec.Statistics
finalStatistics
in class ec.Statistics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |