Package org.opt4j.optimizer.ea
Class SMSModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opt4j.start.Opt4JModule
-
- org.opt4j.optimizer.ea.SelectorModule
-
- org.opt4j.optimizer.ea.SMSModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class SMSModule extends SelectorModule
Module for the S-Metric Selection (Selector) based on theHypervolumecontribution.- See Also:
- "M. Emmerich, N. Beume, and B. Naujoks. An EMO Algorithm Using the
Hypervolume Measure as Selection Criterion. EMO 2005.",
Hypervolume
-
-
Field Summary
Fields Modifier and Type Field Description protected doubleoffsetprotected inttournament-
Fields inherited from class org.opt4j.start.Opt4JModule
SINGLETON
-
-
Constructor Summary
Constructors Constructor Description SMSModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfig()Configure the module.doublegetOffset()Returns the offset value.intgetTournament()Returns the tournament value.voidsetOffset(double offset)Sets the offset value.voidsetTournament(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
- See Also:
setTournament(int)
-
setTournament
public void setTournament(int tournament)
Sets the tournament value.- Parameters:
tournament- the tournament to set- See Also:
getTournament()
-
getOffset
public double getOffset()
Returns the offset value.- Returns:
- the offset value
-
setOffset
public void setOffset(double offset)
Sets the offset value.- Parameters:
offset- the offset to set
-
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
-
-