Class PartialMutationPolicyHandler<T extends Comparable<T>>
java.lang.Object
net.bmahe.genetics4j.core.mutation.PartialMutationPolicyHandler<T>
- All Implemented Interfaces:
MutationPolicyHandler<T>
public class PartialMutationPolicyHandler<T extends Comparable<T>>
extends Object
implements MutationPolicyHandler<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canHandle
(MutationPolicyHandlerResolver<T> mutationPolicyHandlerResolver, MutationPolicy mutationPolicy) createMutator
(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, MutationPolicyHandlerResolver<T> mutationPolicyHandlerResolver, MutationPolicy mutationPolicy)
-
Constructor Details
-
PartialMutationPolicyHandler
public PartialMutationPolicyHandler()
-
-
Method Details
-
canHandle
public boolean canHandle(MutationPolicyHandlerResolver<T> mutationPolicyHandlerResolver, MutationPolicy mutationPolicy) - Specified by:
canHandle
in interfaceMutationPolicyHandler<T extends Comparable<T>>
-
createMutator
public Mutator createMutator(AbstractEAExecutionContext<T> eaExecutionContext, AbstractEAConfiguration<T> eaConfiguration, MutationPolicyHandlerResolver<T> mutationPolicyHandlerResolver, MutationPolicy mutationPolicy) - Specified by:
createMutator
in interfaceMutationPolicyHandler<T extends Comparable<T>>
-