public class IndividualCompleterModule extends Opt4JModule
IndividualCompleterModule
is used to choose and configure a
IndividualCompleter
.Modifier and Type | Class and Description |
---|---|
static class |
IndividualCompleterModule.Type
The
IndividualCompleterModule.Type of IndividualCompleter to use. |
Modifier and Type | Field and Description |
---|---|
protected int |
threads |
protected IndividualCompleterModule.Type |
type |
SINGLETON
Constructor and Description |
---|
IndividualCompleterModule() |
Modifier and Type | Method and Description |
---|---|
void |
config()
Configure the module.
|
int |
getThreads()
Returns the maximal number of parallel threads.
|
IndividualCompleterModule.Type |
getType()
Returns the type of the completer.
|
void |
setThreads(int threads)
Sets the maximal number of parallel threads.
|
void |
setType(IndividualCompleterModule.Type type)
Sets the type of the completer.
|
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 IndividualCompleterModule.Type type
protected int threads
public IndividualCompleterModule.Type getType()
setType(org.opt4j.core.common.completer.IndividualCompleterModule.Type)
public void setType(IndividualCompleterModule.Type type)
type
- the type of the completergetType()
public int getThreads()
setThreads(int)
public void setThreads(int threads)
threads
- the maximal number of parallel threadsgetThreads()
public void config()
Opt4JModule
config
in class Opt4JModule
Binder