Documentation of 'ec.evolve.RandomRestarts' Java class
RandomRestarts
ec.evolve

Class RandomRestarts

  • All Implemented Interfaces:
    Setup, Singleton, java.io.Serializable


    public class RandomRestarts
    extends Statistics
    A special Statistics class which performs random restarts on the population, effectively reininitializing the population and starting over again. RandomRestarts has two ways of determining when to perform a restart. If the restart type is "fixed", then the restart will occur precisely when the generation is a multiple of restart-upper-bound, minus one. (That's hardly random, of course). If the restart type is "random", then at the beginning of the run, and after every restart, a new restart is chosen randomly from one to restart-upper-bound.

    This class is compatible with populations which load from files -- it temporarily disables the load-from-file feature when telling the population to populate itself again, forcing the population to do so by creating random individuals.

    See Also:
    Serialized Form
    • Field Detail

      • P_RESTART_UPPERBOUND

        public static final java.lang.String P_RESTART_UPPERBOUND
        See Also:
        Constant Field Values
      • countdown

        public int countdown
      • upperbound

        public int upperbound
      • start

        public int start
    • Constructor Detail

      • RandomRestarts

        public RandomRestarts()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.