public class BasicMutateModule extends MutateModule
CopyModule
.Modifier and Type | Class and Description |
---|---|
static class |
BasicMutateModule.DoubleType
Type of
Mutate operator for the DoubleGenotype . |
static class |
BasicMutateModule.MutationRateType
The type of the used mutation rate.
|
static class |
BasicMutateModule.PermutationType
Type of
Mutate operator for the PermutationGenotype . |
Modifier and Type | Field and Description |
---|---|
protected BasicMutateModule.DoubleType |
doubleType |
protected double |
eta |
protected double |
mutationRate |
protected BasicMutateModule.MutationRateType |
mutationRateType |
protected BasicMutateModule.PermutationType |
permutationType |
protected double |
sigma |
Constructor and Description |
---|
BasicMutateModule()
Constructs a
BasicMutateModule . |
Modifier and Type | Method and Description |
---|---|
void |
config() |
BasicMutateModule.DoubleType |
getDoubleType()
Returns the double type.
|
double |
getEta()
Returns the eta.
|
double |
getMutationRate()
Returns the
MutationRate as a double value. |
BasicMutateModule.MutationRateType |
getMutationRateType()
Returns the
BasicMutateModule.MutationRateType . |
BasicMutateModule.PermutationType |
getPermutationType()
Returns the permutation mode.
|
double |
getSigma()
Returns the sigma value.
|
void |
setDoubleType(BasicMutateModule.DoubleType doubleType)
Sets the double type.
|
void |
setEta(double eta)
Sets the eta.
|
void |
setMutationRate(double mutationRate)
Sets the
MutationRate . |
void |
setMutationRateType(BasicMutateModule.MutationRateType mutationRateType)
Sets the
BasicMutateModule.MutationRateType . |
void |
setPermutationType(BasicMutateModule.PermutationType permutationMode)
Sets the permutation mode.
|
void |
setSigma(double sigma)
Sets the sigma value.
|
getOperatorTypeLiteral
addOperator, addOperator, addOperator, addOperatorSelector, addOperatorSelectorInstance
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected BasicMutateModule.MutationRateType mutationRateType
protected BasicMutateModule.PermutationType permutationType
protected BasicMutateModule.DoubleType doubleType
protected double eta
protected double sigma
protected double mutationRate
public BasicMutateModule()
BasicMutateModule
.public BasicMutateModule.MutationRateType getMutationRateType()
BasicMutateModule.MutationRateType
.public void setMutationRateType(BasicMutateModule.MutationRateType mutationRateType)
BasicMutateModule.MutationRateType
.mutationRateType
- the type of mutation ratepublic double getMutationRate()
MutationRate
as a double value.public void setMutationRate(double mutationRate)
MutationRate
.mutationRate
- the mutation ratepublic BasicMutateModule.PermutationType getPermutationType()
public void setPermutationType(BasicMutateModule.PermutationType permutationMode)
permutationMode
- the permutation modepublic BasicMutateModule.DoubleType getDoubleType()
public void setDoubleType(BasicMutateModule.DoubleType doubleType)
doubleType
- the doubleType to setpublic double getEta()
public void setEta(double eta)
eta
- the eta to setpublic double getSigma()
public void setSigma(double sigma)
sigma
- the sigma to setpublic void config()
config
in class org.opt4j.core.start.Opt4JModule