Package org.opt4j.operator.neighbor
Class BasicNeighborModule
java.lang.Object
com.google.inject.AbstractModule
org.opt4j.start.Opt4JModule
org.opt4j.operator.OperatorModule<Neighbor<?>>
org.opt4j.operator.neighbor.NeighborModule
org.opt4j.operator.neighbor.BasicNeighborModule
- All Implemented Interfaces:
com.google.inject.Module
The basic
NeighborModule.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType ofNeighboroperator for thePermutationGenotype. -
Field Summary
FieldsFields inherited from class org.opt4j.start.Opt4JModule
SINGLETON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfig()Configure the module.Returns the permutation mode.voidsetPermutationType(BasicNeighborModule.PermutationType permutationMode) Sets the permutation mode.Methods inherited from class org.opt4j.operator.neighbor.NeighborModule
getOperatorTypeLiteralMethods inherited from class org.opt4j.operator.OperatorModule
addOperator, addOperator, addOperatorMethods inherited from class org.opt4j.start.Opt4JModule
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multiMethods 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
-
permutationType
-
-
Constructor Details
-
BasicNeighborModule
public BasicNeighborModule()Constructs aBasicNeighborModule.
-
-
Method Details
-
getPermutationType
Returns the permutation mode.- Returns:
- the permutation mode
-
setPermutationType
Sets the permutation mode.- Parameters:
permutationMode- the permutation mode
-
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
-