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