Package org.opt4j.optimizers.ea
Class Nsga2Module
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.opt4j.core.start.Opt4JModule
-
- org.opt4j.optimizers.ea.SelectorModule
-
- org.opt4j.optimizers.ea.Nsga2Module
-
- All Implemented Interfaces:
com.google.inject.Module
@Citation(title="A Fast Elitist Non-Dominated Sorting Genetic Algorithm for Multi-Objective Optimization: NSGA-II", authors="Kalyanmoy Deb, Samir Agrawal, Amrit Pratap, and Tanaka Meyarivan", journal="Parallel MockProblem Solving from Nature", pageFirst=849, pageLast=858, year=2000, doi="10.1007/3-540-45356-3_83", month=UNKNOWN) public class Nsga2Module extends SelectorModule
- See Also:
Nsga2
-
-
Field Summary
Fields Modifier and Type Field Description protected int
tournament
-
Constructor Summary
Constructors Constructor Description Nsga2Module()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
config()
int
getTournament()
Returns the tournament value.void
setTournament(int tournament)
Sets the tournament value.-
Methods inherited from class org.opt4j.optimizers.ea.SelectorModule
bindSelector
-
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
-
-
-
-
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()
-
config
public void config()
- Specified by:
config
in classorg.opt4j.core.start.Opt4JModule
-
-