Class MutateDesignDecisionGenotype
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.opt4j.operator.MutateDesignDecisionGenotype
-
- All Implemented Interfaces:
org.opt4j.core.optimizer.Operator<DesignDecisionGenotype>
,org.opt4j.operator.mutate.Mutate<DesignDecisionGenotype>
public class MutateDesignDecisionGenotype extends Object implements org.opt4j.operator.mutate.Mutate<DesignDecisionGenotype>
Mutator forDesignDecisionGenotype
s. Calls the boundMutateInteger
orMutateDouble
, depending on the type ofDegreeOfFreedomInstance
of each gene.
-
-
Constructor Summary
Constructors Constructor Description MutateDesignDecisionGenotype(org.opt4j.common.random.Rand random, org.opt4j.operator.mutate.MutateInteger mutateInteger, org.opt4j.operator.mutate.MutateDouble mutateDouble, org.opt4j.operator.mutate.MutationRate rate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mutate(DesignDecisionGenotype genotype, double mutationRate)
Mutates the passedDesignDecisionGenotype
by calling a matchingMutate
for each gene.
-
-
-
Method Detail
-
mutate
public void mutate(DesignDecisionGenotype genotype, double mutationRate)
Mutates the passedDesignDecisionGenotype
by calling a matchingMutate
for each gene.- Specified by:
mutate
in interfaceorg.opt4j.operator.mutate.Mutate<DesignDecisionGenotype>
-
-