Class NeatChromosomeAddNodeMutationHandler
java.lang.Object
net.bmahe.genetics4j.neat.mutation.chromosome.AbstractNeatChromosomeConnectionMutationHandler<AddNode>
net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddNodeMutationHandler
- All Implemented Interfaces:
ChromosomeMutationHandler<NeatChromosome>
public class NeatChromosomeAddNodeMutationHandler
extends AbstractNeatChromosomeConnectionMutationHandler<AddNode>
-
Field Summary
Fields inherited from class net.bmahe.genetics4j.neat.mutation.chromosome.AbstractNeatChromosomeConnectionMutationHandler
logger
-
Constructor Summary
ConstructorDescriptionNeatChromosomeAddNodeMutationHandler
(RandomGenerator _randomGenerator, InnovationManager _innovationManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<Connection> mutateConnection
(AddNode mutationPolicy, NeatChromosome neatChromosome, Connection oldConnection, int i) Methods inherited from class net.bmahe.genetics4j.neat.mutation.chromosome.AbstractNeatChromosomeConnectionMutationHandler
canHandle, getMutationClazz, getRandomGenerator, mutate
-
Field Details
-
randomGenerator
-
innovationManager
-
-
Constructor Details
-
NeatChromosomeAddNodeMutationHandler
public NeatChromosomeAddNodeMutationHandler(RandomGenerator _randomGenerator, InnovationManager _innovationManager)
-
-
Method Details
-
mutateConnection
protected List<Connection> mutateConnection(AddNode mutationPolicy, NeatChromosome neatChromosome, Connection oldConnection, int i) - Specified by:
mutateConnection
in classAbstractNeatChromosomeConnectionMutationHandler<AddNode>
-