Package ec.steadystate
Interface SteadyStateStatisticsForm
- All Known Implementing Classes:
HypervolumeStatistics,MultiObjectiveStatistics,SimpleStatistics
public interface SteadyStateStatisticsForm
This interface defines the hooks for SteadyStateEvolutionState objects
to update themselves on. Note that the the only methods in common
with the standard statistics are initialization and final. This is an
optional interface: SteadyStateEvolutionState will complain, but
will permit Statistics objects that don't adhere to it, though they will
only have their initialization and final statistics methods called!
See SteadyStateEvolutionState for how regular Statistics objects' hook methods are called in steady state evolution.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when we created an empty initial Population.voidenteringSteadyStateStatistics(int subpop, SteadyStateEvolutionState state) Called when we have filled the initial population and are entering the steady state.voidfinalStatistics(EvolutionState state, int result) Called immediately after the run has completed.voidCalled when the generation count incrementsvoidindividualsBredStatistics(SteadyStateEvolutionState state, Individual[] individuals) Called each time new individuals are bred during the steady-state process.voidindividualsEvaluatedStatistics(SteadyStateEvolutionState state, Individual[] newIndividuals, Individual[] oldIndividuals, int[] subpopulations, int[] indices) Called each time new individuals are evaluated during the steady-state process, NOT including the initial generation's individuals.voidCalled immediately after checkpointing occurs.voidCalled immediately after the post-breeding exchange occurs.voidCalled immediately after the pre-breeding exchange occurs.voidCalled immediately before checkpointing occurs.voidCalled immediately before the post-breeding exchange occurs.voidCalled immediately before the pre-breeding exchange occurs.
-
Method Details
-
enteringInitialPopulationStatistics
Called when we created an empty initial Population. -
enteringSteadyStateStatistics
Called when we have filled the initial population and are entering the steady state. -
individualsBredStatistics
Called each time new individuals are bred during the steady-state process. -
individualsEvaluatedStatistics
void individualsEvaluatedStatistics(SteadyStateEvolutionState state, Individual[] newIndividuals, Individual[] oldIndividuals, int[] subpopulations, int[] indices) Called each time new individuals are evaluated during the steady-state process, NOT including the initial generation's individuals. -
generationBoundaryStatistics
Called when the generation count increments -
preCheckpointStatistics
Called immediately before checkpointing occurs. -
postCheckpointStatistics
Called immediately after checkpointing occurs. -
prePreBreedingExchangeStatistics
Called immediately before the pre-breeding exchange occurs. -
postPreBreedingExchangeStatistics
Called immediately after the pre-breeding exchange occurs. -
prePostBreedingExchangeStatistics
Called immediately before the post-breeding exchange occurs. -
postPostBreedingExchangeStatistics
Called immediately after the post-breeding exchange occurs. -
finalStatistics
Called immediately after the run has completed. result is either state.R_FAILURE, indicating that an ideal individual was not found, or state.R_SUCCESS, indicating that an ideal individual was found.
-