Class NeatChromosomeAddConnection
java.lang.Object
net.bmahe.genetics4j.neat.mutation.chromosome.NeatChromosomeAddConnection
- All Implemented Interfaces:
ChromosomeMutationHandler<NeatChromosome>
public class NeatChromosomeAddConnection
extends Object
implements ChromosomeMutationHandler<NeatChromosome>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final InnovationManager
static final org.apache.logging.log4j.Logger
private final RandomGenerator
-
Constructor Summary
ConstructorDescriptionNeatChromosomeAddConnection
(RandomGenerator _randomGenerator, InnovationManager _innovationManager) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandle
(MutationPolicy mutationPolicy, ChromosomeSpec chromosome) mutate
(MutationPolicy mutationPolicy, Chromosome chromosome)
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger -
randomGenerator
-
innovationManager
-
-
Constructor Details
-
NeatChromosomeAddConnection
public NeatChromosomeAddConnection(RandomGenerator _randomGenerator, InnovationManager _innovationManager)
-
-
Method Details
-
canHandle
- Specified by:
canHandle
in interfaceChromosomeMutationHandler<NeatChromosome>
-
mutate
- Specified by:
mutate
in interfaceChromosomeMutationHandler<NeatChromosome>
-