Package org.opt4j.optimizer.ea
Class BasicMatingModule
java.lang.Object
com.google.inject.AbstractModule
org.opt4j.start.Opt4JModule
org.opt4j.optimizer.ea.MatingModule
org.opt4j.optimizer.ea.BasicMatingModule
- All Implemented Interfaces:
com.google.inject.Module
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
TheBasicMatingModule.CouplerType
determines the coupler operator to use. -
Field Summary
Fields inherited from class org.opt4j.start.Opt4JModule
SINGLETON
-
Constructor Summary
-
Method Summary
Methods inherited from class org.opt4j.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
-
Field Details
-
type
-
-
Constructor Details
-
BasicMatingModule
public BasicMatingModule()Constructs aBasicMatingModule
.
-
-
Method Details
-
getType
Returns the type ofCoupler
operator to use.- Returns:
- the the type of coupler operator to use
- See Also:
-
setType
Sets the the type ofCoupler
operator to use.- Parameters:
type
- the type to set- See Also:
-
config
public void config()Description copied from class:Opt4JModule
Configure the module. Bind constants, listeners, and bind arbitrary classes.- Specified by:
config
in classOpt4JModule
- See Also:
-
Binder
-