|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.opt4j.core.start.Opt4JModule
org.opt4j.core.common.completer.IndividualCompleterModule
public class IndividualCompleterModule
The IndividualCompleterModule is used to choose and configure a
IndividualCompleter.
| Nested Class Summary | |
|---|---|
static class |
IndividualCompleterModule.Type
The IndividualCompleterModule.Type of IndividualCompleter to use. |
| Field Summary | |
|---|---|
protected int |
threads
|
protected IndividualCompleterModule.Type |
type
|
| Fields inherited from class org.opt4j.core.start.Opt4JModule |
|---|
SINGLETON |
| Constructor Summary | |
|---|---|
IndividualCompleterModule()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.opt4j.core.start.Opt4JModule |
|---|
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IndividualCompleterModule.Type type
protected int threads
| Constructor Detail |
|---|
public IndividualCompleterModule()
| Method Detail |
|---|
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 Opt4JModuleBinder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||