public class GeneticMappingOptimizerModule
extends org.opt4j.core.optimizer.OptimizerModule
Modifier and Type | Field and Description |
---|---|
protected int |
iterations
The maximal number of iterations that must be set
by adding this property with the annotation @MaxIterations.
|
protected int |
offSize
The offspring size
|
protected int |
populationSize
The population size
|
Constructor and Description |
---|
GeneticMappingOptimizerModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
config() |
int |
getIterations() |
int |
getOffSize() |
int |
getPopulationSize() |
void |
setIterations(int iterations) |
void |
setOffSize(int offSize) |
void |
setPopulationSize(int popSize) |
bindIterativeOptimizer, bindOptimizer
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected int iterations
protected int populationSize
protected int offSize
protected void config()
config
in class org.opt4j.core.start.Opt4JModule
public int getIterations()
public void setIterations(int iterations)
iterations
- The number of iterationspublic int getPopulationSize()
public void setPopulationSize(int popSize)
popSize
- The population sizepublic int getOffSize()
public void setOffSize(int offSize)
offSize
- The offspring size