Package org.opt4j.core.domination
Class ConstraintDominationModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opt4j.start.Opt4JModule
-
- org.opt4j.core.domination.ConstraintDominationModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class ConstraintDominationModule extends Opt4JModule
Constraint Domination Module.- See Also:
ConstraintDomination
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstraintDominationModule.Strategy
-
Field Summary
Fields Modifier and Type Field Description protected ConstraintDominationModule.StrategystrategyForFeasibleSolutionsprotected Class<? extends DominationStrategy>strategyForFeasibleSolutionsClass-
Fields inherited from class org.opt4j.start.Opt4JModule
SINGLETON
-
-
Constructor Summary
Constructors Constructor Description ConstraintDominationModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfig()Configure the module.ConstraintDominationModule.StrategygetStrategyForFeasibleSolutions()voidsetStrategyForFeasibleSolutions(ConstraintDominationModule.Strategy strategyForFeasibleSolutions)-
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
-
strategyForFeasibleSolutions
protected ConstraintDominationModule.Strategy strategyForFeasibleSolutions
-
strategyForFeasibleSolutionsClass
protected Class<? extends DominationStrategy> strategyForFeasibleSolutionsClass
-
-
Method Detail
-
getStrategyForFeasibleSolutions
public ConstraintDominationModule.Strategy getStrategyForFeasibleSolutions()
- Returns:
- the strategyForFeasibleSolutions
-
setStrategyForFeasibleSolutions
public void setStrategyForFeasibleSolutions(ConstraintDominationModule.Strategy strategyForFeasibleSolutions)
- Parameters:
strategyForFeasibleSolutions- the strategyForFeasibleSolutions to set
-
config
protected void config()
Description copied from class:Opt4JModuleConfigure the module. Bind constants, listeners, and bind arbitrary classes.- Specified by:
configin classOpt4JModule- See Also:
Binder
-
-