Package ec.neat

Class NEATInitializer

All Implemented Interfaces:
Setup, Singleton, Serializable

public class NEATInitializer extends SimpleInitializer
NEATInitializer is a SimpleInitializer which ensures that the subpopulations are all create from an existing template individual read from file.
See Also:
  • Constructor Details

    • NEATInitializer

      public NEATInitializer()
  • Method Details

    • initialPopulation

      public Population initialPopulation(EvolutionState state, int thread)
      In NEAT, we provide the algorithm with a start individual from file, after read the start individual from file, we populate the subpopulation with mutated version of that template individual. The number of individual we create is determined by the "pop.subpop.X.size" parameter.
      Overrides:
      initialPopulation in class SimpleInitializer