Package ec.neat

# Class NEATInitializer

java.lang.Object
ec.Initializer
ec.simple.SimpleInitializer
ec.neat.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:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class ec.Initializer

  `P_POP`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NEATInitializer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `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.

  ### Methods inherited from class ec.simple.SimpleInitializer

  `setup, setupPopulation`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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`