public class BasicCrossoverModule extends CrossoverModule
BasicCrossoverModule.| Modifier and Type | Class and Description |
|---|---|
static class |
BasicCrossoverModule.BooleanType
Type of
Crossover operator for the BooleanGenotype. |
static class |
BasicCrossoverModule.DoubleType
Type of
Crossover operator for the DoubleGenotype. |
static class |
BasicCrossoverModule.IntegerType
Type of
Crossover operator for the IntegerGenotype. |
static class |
BasicCrossoverModule.PermutationType
Type of
Crossover operator for the PermutationGenotype. |
SINGLETON| Constructor and Description |
|---|
BasicCrossoverModule()
Constructs a
BasicCrossoverModule. |
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, constant, multipublic BasicCrossoverModule()
BasicCrossoverModule.public double getIntegerRate()
CrossoverIntegerRate.public void setIntegerRate(double integerRate)
CrossoverIntegerRate.integerRate - the ratepublic int getIntegerXPoints()
CrossoverIntegerXPoint.public void setIntegerXPoints(int integerXPoint)
CrossoverIntegerXPoint
.integerXPoint - the number of crossover pointspublic BasicCrossoverModule.IntegerType getIntegerType()
Operator for IntegerGenotype.public void setIntegerType(BasicCrossoverModule.IntegerType integerType)
Operator for IntegerGenotype.integerType - the operatorpublic double getBooleanRate()
CrossoverBooleanRate.public void setBooleanRate(double booleanRate)
CrossoverBooleanRate.booleanRate - the ratepublic int getBooleanXPoints()
CrossoverBooleanXPoint.public void setBooleanXPoints(int booleanXPoints)
CrossoverBooleanXPoint
.booleanXPoints - the number of crossover pointspublic BasicCrossoverModule.BooleanType getBooleanType()
Operator for BooleanGenotype.public void setBooleanType(BasicCrossoverModule.BooleanType booleanType)
Operator for BooleanGenotype.booleanType - the operatorpublic double getAlpha()
CrossoverDoubleBLX or
CrossoverDoubleUnfairAverage, respectively.public void setAlpha(double alpha)
CrossoverDoubleBLX or
CrossoverDoubleUnfairAverage, respectively.alpha - the alpha valuepublic double getNu()
CrossoverDoubleSBX.public void setNu(double nu)
CrossoverDoubleSBX.nu - the nu valuepublic BasicCrossoverModule.DoubleType getDoubleType()
Operator for DoubleGenotype.public void setDoubleType(BasicCrossoverModule.DoubleType doubleType)
Operator for DoubleGenotype.doubleType - the operatorpublic BasicCrossoverModule.PermutationType getPermutationType()
BasicCrossoverModule.PermutationType.public void setPermutationType(BasicCrossoverModule.PermutationType permutationType)
BasicCrossoverModule.PermutationType.permutationType - the permutation typepublic boolean isRotation()
true if rotation is usedpublic void setRotation(boolean rotation)
Crossover operator for the
PermutationGenotype.rotation - the rotation valuepublic void config()
Opt4JModuleBinder