public class RandomSearchModule
extends org.opt4j.core.optimizer.OptimizerModule
RandomSearchModule
.RandomSearch
Modifier and Type | Field and Description |
---|---|
protected int |
batchsize |
protected int |
iterations |
Constructor and Description |
---|
RandomSearchModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
config() |
int |
getBatchsize()
Returns the number of batched individuals for the evaluation.
|
int |
getIterations()
Returns the number of iterations.
|
void |
setBatchsize(int batchsize)
Sets the number of batched individuals for the evaluation.
|
void |
setIterations(int iterations)
Sets the number of iterations.
|
bindIterativeOptimizer, bindOptimizer
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
public int getIterations()
setIterations(int)
public void setIterations(int iterations)
iterations
- the number of iterationsgetIterations()
public int getBatchsize()
setBatchsize(int)
public void setBatchsize(int batchsize)
batchsize
- the batchsize to setgetBatchsize()
protected void config()
config
in class org.opt4j.core.start.Opt4JModule