public class BasicDiversityModule extends DiversityModule
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicDiversityModule.BooleanType
Type of
Diversity operator for the BooleanGenotype. |
static class |
BasicDiversityModule.DoubleType
Type of
Diversity operator for the DoubleGenotype. |
SINGLETON| Constructor and Description |
|---|
BasicDiversityModule()
Constructs a
BasicDiversityModule. |
| Modifier and Type | Method and Description |
|---|---|
void |
config()
Configure the module.
|
BasicDiversityModule.BooleanType |
getBooleanType()
Returns the Type of
Diversity operator for
BooleanGenotype. |
BasicDiversityModule.DoubleType |
getDoubleType()
Returns the Type of
Diversity operator for DoubleGenotype
. |
void |
setBooleanType(BasicDiversityModule.BooleanType booleanType)
Sets the Type of
Diversity operator for BooleanGenotype. |
void |
setDoubleType(BasicDiversityModule.DoubleType doubleType)
Sets the the Type of
Diversity operator for
DoubleGenotype. |
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, constant, multipublic BasicDiversityModule()
BasicDiversityModule.public BasicDiversityModule.BooleanType getBooleanType()
Diversity operator for
BooleanGenotype.public void setBooleanType(BasicDiversityModule.BooleanType booleanType)
Diversity operator for BooleanGenotype.booleanType - the booleanType to setpublic BasicDiversityModule.DoubleType getDoubleType()
Diversity operator for DoubleGenotype
.public void setDoubleType(BasicDiversityModule.DoubleType doubleType)
Diversity operator for
DoubleGenotype.doubleType - the doubleType to setpublic void config()
Opt4JModuleBinder