Package org.opt4j.optimizer.ea
Class ScalingNsga2Module
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opt4j.start.Opt4JModule
-
- org.opt4j.optimizer.ea.SelectorModule
-
- org.opt4j.optimizer.ea.ScalingNsga2Module
-
- All Implemented Interfaces:
com.google.inject.Module
public class ScalingNsga2Module extends SelectorModule
Module for theScalingNsga2
Selector
.- See Also:
ScalingNsga2
-
-
Field Summary
-
Fields inherited from class org.opt4j.start.Opt4JModule
SINGLETON
-
-
Constructor Summary
Constructors Constructor Description ScalingNsga2Module()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
config()
Configure the module.int
getTournament()
Returns the tournament value.void
setTournament(int tournament)
Sets the tournament value.-
Methods inherited from class org.opt4j.optimizer.ea.SelectorModule
bindSelector
-
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
-
-
-
-
Method Detail
-
getTournament
public int getTournament()
Returns the tournament value.- Returns:
- the tournament value
-
setTournament
public void setTournament(int tournament)
Sets the tournament value.- Parameters:
tournament
- the tournament to set
-
config
protected void config()
Description copied from class:Opt4JModule
Configure the module. Bind constants, listeners, and bind arbitrary classes.- Specified by:
config
in classOpt4JModule
- See Also:
Binder
-
-