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. |
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, constant, multipublic IndividualCompleterModule.Type getType()
setType(org.opt4j.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()
Opt4JModuleBinder