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
public class BasicMatingModule extends MatingModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBasicMatingModule.CouplerTypeTheBasicMatingModule.CouplerTypedetermines the coupler operator to use.
-
Field Summary
Fields Modifier and Type Field Description protected BasicMatingModule.CouplerTypetype-
Fields inherited from class org.opt4j.start.Opt4JModule
SINGLETON
-
-
Constructor Summary
Constructors Constructor Description BasicMatingModule()Constructs aBasicMatingModule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfig()Configure the module.BasicMatingModule.CouplerTypegetType()Returns the type ofCoupleroperator to use.voidsetType(BasicMatingModule.CouplerType type)Sets the the type ofCoupleroperator to use.-
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 Detail
-
type
protected BasicMatingModule.CouplerType type
-
-
Constructor Detail
-
BasicMatingModule
public BasicMatingModule()
Constructs aBasicMatingModule.
-
-
Method Detail
-
getType
public BasicMatingModule.CouplerType getType()
Returns the type ofCoupleroperator to use.- Returns:
- the the type of coupler operator to use
- See Also:
setType(org.opt4j.optimizer.ea.BasicMatingModule.CouplerType)
-
setType
public void setType(BasicMatingModule.CouplerType type)
Sets the the type ofCoupleroperator to use.- Parameters:
type- the type to set- See Also:
getType()
-
config
public void config()
Description copied from class:Opt4JModuleConfigure the module. Bind constants, listeners, and bind arbitrary classes.- Specified by:
configin classOpt4JModule- See Also:
Binder
-
-