Package ec
Class Finisher
java.lang.Object
ec.Finisher
- All Implemented Interfaces:
Setup,Singleton,Serializable
- Direct Known Subclasses:
SimpleFinisher
Finisher is a singleton object which is responsible for cleaning up a
population after a run has completed. This is typically done after
final statistics have been performed but before the exchanger's
contacts have been closed.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidfinishPopulation(EvolutionState state, int result) Cleans up the population after the run has completed.
-
Constructor Details
-
Finisher
public Finisher()
-
-
Method Details
-
finishPopulation
Cleans up the population after the run has completed. result is either ec.EvolutionState.R_SUCCESS or ec.EvolutionState.R_FAILURE, indicating whether or not an ideal individual was found.
-