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 . |
Modifier and Type | Field and Description |
---|---|
protected BasicDiversityModule.BooleanType |
booleanType |
protected BasicDiversityModule.DoubleType |
doubleType |
Constructor and Description |
---|
BasicDiversityModule() |
Modifier and Type | Method and Description |
---|---|
void |
config() |
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 . |
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 BasicDiversityModule.BooleanType booleanType
protected BasicDiversityModule.DoubleType doubleType
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()
config
in class org.opt4j.core.start.Opt4JModule