Package org.opt4j.operator.mutate
Class MutateGenericImplementation
- java.lang.Object
-
- org.opt4j.operator.AbstractGenericOperator<Mutate<Genotype>,Mutate<?>>
-
- org.opt4j.operator.mutate.MutateGenericImplementation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opt4j.operator.AbstractGenericOperator
AbstractGenericOperator.ClassComparator, AbstractGenericOperator.OperatorClassPredicate, AbstractGenericOperator.OperatorHolder<P>, AbstractGenericOperator.OperatorPredicate, AbstractGenericOperator.OperatorVoidPredicate
-
-
Field Summary
-
Fields inherited from class org.opt4j.operator.AbstractGenericOperator
classOperators, cldef, genericOperators
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMutateGenericImplementation()Constructs theMutateGenericImplementation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmutate(Genotype genotype, double p)Performs a mutation for aGenotype.protected voidmutateComposite(CompositeGenotype<?,?> genotype, double p)-
Methods inherited from class org.opt4j.operator.AbstractGenericOperator
addOperator, getOperator, getOperators, getTarget, inject
-
-
-
-
Constructor Detail
-
MutateGenericImplementation
@Inject protected MutateGenericImplementation()
Constructs theMutateGenericImplementation.
-
-
Method Detail
-
mutate
public void mutate(Genotype genotype, double p)
Description copied from interface:MutatePerforms a mutation for aGenotype.
-
mutateComposite
protected void mutateComposite(CompositeGenotype<?,?> genotype, double p)
-
-