Package org.opt4j.operators.neighbor
Class BasicNeighborModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opt4j.core.start.Opt4JModule
-
- org.opt4j.operators.OperatorModule<Neighbor<?>>
-
- org.opt4j.operators.neighbor.NeighborModule
-
- org.opt4j.operators.neighbor.BasicNeighborModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class BasicNeighborModule extends NeighborModule
The basicNeighborModule
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BasicNeighborModule.PermutationType
Type ofNeighbor
operator for thePermutationGenotype
.
-
Field Summary
Fields Modifier and Type Field Description protected BasicNeighborModule.PermutationType
permutationType
-
Constructor Summary
Constructors Constructor Description BasicNeighborModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
config()
BasicNeighborModule.PermutationType
getPermutationType()
Returns the permutation mode.void
setPermutationType(BasicNeighborModule.PermutationType permutationMode)
Sets the permutation mode.-
Methods inherited from class org.opt4j.operators.neighbor.NeighborModule
getOperatorTypeLiteral
-
Methods inherited from class org.opt4j.operators.OperatorModule
addOperator, addOperator, addOperator, addOperatorSelector, addOperatorSelectorInstance
-
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
-
permutationType
protected BasicNeighborModule.PermutationType permutationType
-
-
Method Detail
-
getPermutationType
public BasicNeighborModule.PermutationType getPermutationType()
Returns the permutation mode.- Returns:
- the permutation mode
-
setPermutationType
public void setPermutationType(BasicNeighborModule.PermutationType permutationMode)
Sets the permutation mode.- Parameters:
permutationMode
- the permutation mode
-
config
public void config()
- Specified by:
config
in classorg.opt4j.core.start.Opt4JModule
-
-