Class DoubleChromosomeSwapMutationHandler
java.lang.Object
net.bmahe.genetics4j.core.mutation.chromosome.swapmutation.DoubleChromosomeSwapMutationHandler
- All Implemented Interfaces:
ChromosomeMutationHandler<DoubleChromosome>
public class DoubleChromosomeSwapMutationHandler
extends Object
implements ChromosomeMutationHandler<DoubleChromosome>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandle
(MutationPolicy mutationPolicy, ChromosomeSpec chromosome) mutate
(MutationPolicy mutationPolicy, Chromosome chromosome)
-
Field Details
-
randomGenerator
-
-
Constructor Details
-
DoubleChromosomeSwapMutationHandler
-
-
Method Details
-
canHandle
- Specified by:
canHandle
in interfaceChromosomeMutationHandler<DoubleChromosome>
-
mutate
- Specified by:
mutate
in interfaceChromosomeMutationHandler<DoubleChromosome>
-