Package org.opt4j.optimizers.ea
Class BasicMatingModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opt4j.core.start.Opt4JModule
-
- org.opt4j.optimizers.ea.MatingModule
-
- org.opt4j.optimizers.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 class
BasicMatingModule.CouplerType
TheBasicMatingModule.CouplerType
determines the coupler operator to use.
-
Field Summary
Fields Modifier and Type Field Description protected BasicMatingModule.CouplerType
type
-
Constructor Summary
Constructors Constructor Description BasicMatingModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
config()
BasicMatingModule.CouplerType
getType()
Returns the type ofCoupler
operator to use.void
setType(BasicMatingModule.CouplerType type)
Sets the the type ofCoupler
operator to use.-
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, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Field Detail
-
type
protected BasicMatingModule.CouplerType type
-
-
Method Detail
-
getType
public BasicMatingModule.CouplerType getType()
Returns the type ofCoupler
operator to use.- Returns:
- the the type of coupler operator to use
- See Also:
setType(org.opt4j.optimizers.ea.BasicMatingModule.CouplerType)
-
setType
public void setType(BasicMatingModule.CouplerType type)
Sets the the type ofCoupler
operator to use.- Parameters:
type
- the type to set- See Also:
getType()
-
config
public void config()
- Specified by:
config
in classorg.opt4j.core.start.Opt4JModule
-
-