ec.steadystate
Interface SteadyStateStatisticsForm
-
- All Known Implementing Classes:
- MultiObjectiveStatistics, SimpleStatistics
public interface SteadyStateStatisticsFormThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidenteringInitialPopulationStatistics(SteadyStateEvolutionState state)Called 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.voidgenerationBoundaryStatistics(EvolutionState state)Called 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.voidpostCheckpointStatistics(EvolutionState state)Called immediately after checkpointing occurs.voidpostPostBreedingExchangeStatistics(EvolutionState state)Called immediately after the post-breeding exchange occurs.voidpostPreBreedingExchangeStatistics(EvolutionState state)Called immediately after the pre-breeding exchange occurs.voidpreCheckpointStatistics(EvolutionState state)Called immediately before checkpointing occurs.voidprePostBreedingExchangeStatistics(EvolutionState state)Called immediately before the post-breeding exchange occurs.voidprePreBreedingExchangeStatistics(EvolutionState state)Called immediately before the pre-breeding exchange occurs.
-
-
-
Method Detail
-
enteringInitialPopulationStatistics
void enteringInitialPopulationStatistics(SteadyStateEvolutionState state)
Called when we created an empty initial Population.
-
enteringSteadyStateStatistics
void enteringSteadyStateStatistics(int subpop, SteadyStateEvolutionState state)Called when we have filled the initial population and are entering the steady state.
-
individualsBredStatistics
void individualsBredStatistics(SteadyStateEvolutionState state, Individual[] individuals)
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
void generationBoundaryStatistics(EvolutionState state)
Called when the generation count increments
-
preCheckpointStatistics
void preCheckpointStatistics(EvolutionState state)
Called immediately before checkpointing occurs.
-
postCheckpointStatistics
void postCheckpointStatistics(EvolutionState state)
Called immediately after checkpointing occurs.
-
prePreBreedingExchangeStatistics
void prePreBreedingExchangeStatistics(EvolutionState state)
Called immediately before the pre-breeding exchange occurs.
-
postPreBreedingExchangeStatistics
void postPreBreedingExchangeStatistics(EvolutionState state)
Called immediately after the pre-breeding exchange occurs.
-
prePostBreedingExchangeStatistics
void prePostBreedingExchangeStatistics(EvolutionState state)
Called immediately before the post-breeding exchange occurs.
-
postPostBreedingExchangeStatistics
void postPostBreedingExchangeStatistics(EvolutionState state)
Called immediately after the post-breeding exchange occurs.
-
finalStatistics
void finalStatistics(EvolutionState state, int result)
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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG