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