Documentation of 'ec.Finisher' Java class
Finisher
ec

Class Finisher

  • All Implemented Interfaces:
    Setup, Singleton, java.io.Serializable
    Direct Known Subclasses:
    SimpleFinisher


    public abstract class Finisher
    extends java.lang.Object
    implements Singleton
    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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Finisher() 
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      abstract void finishPopulation(EvolutionState state, int result)
      Cleans up the population after the run has completed.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Finisher

        public Finisher()
    • Method Detail

      • finishPopulation

        public abstract void finishPopulation(EvolutionState state,
                                              int result)
        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.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.