Package ec.neat
Class NEATInitializer
java.lang.Object
ec.Initializer
ec.simple.SimpleInitializer
ec.neat.NEATInitializer
- All Implemented Interfaces:
Setup,Singleton,Serializable
NEATInitializer is a SimpleInitializer which ensures that the subpopulations
are all create from an existing template individual read from file.
- See Also:
-
Field Summary
Fields inherited from class ec.Initializer
P_POP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninitialPopulation(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
-
Constructor Details
-
NEATInitializer
public NEATInitializer()
-
-
Method Details
-
initialPopulation
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:
initialPopulationin classSimpleInitializer
-