org.moeaframework.algorithm
Class NSGAII
java.lang.Object
org.moeaframework.algorithm.AbstractAlgorithm
org.moeaframework.algorithm.AbstractEvolutionaryAlgorithm
org.moeaframework.algorithm.NSGAII
All Implemented Interfaces: Algorithm , EpsilonBoxEvolutionaryAlgorithm , EvolutionaryAlgorithm
public class NSGAII extends AbstractEvolutionaryAlgorithm implements EpsilonBoxEvolutionaryAlgorithm
Implementation of NSGA-II, with the ability to attach an optional
ε-dominance archive.
References:
Deb, K. et al. "A Fast Elitist Multi-Objective Genetic Algorithm:
NSGA-II." IEEE Transactions on Evolutionary Computation, 6:182-197,
2000.
Kollat, J. B., and Reed, P. M. "Comparison of Multi-Objective
Evolutionary Algorithms for Long-Term Monitoring Design." Advances in
Water Resources, 29(6):792-807, 2006.
NSGAII
public NSGAII (Problem problem,
NondominatedSortingPopulation population,
EpsilonBoxDominanceArchive archive,
Selection selection,
Variation variation,
Initialization initialization)
Constructs the NSGA-II algorithm with the specified components.
Parameters: problem - the problem being solvedpopulation - the population used to store solutionsarchive - the archive used to store the result; can be nullselection - the selection operatorvariation - the variation operatorinitialization - the initialization method
iterate
public void iterate ()
Description copied from class: AbstractAlgorithm
Performs one iteration of the algorithm. This method should be
overridden by implementations to perform each logical iteration of the
algorithm.
Specified by: iterate in class AbstractAlgorithm
getArchive
public EpsilonBoxDominanceArchive getArchive ()
Description copied from interface: EvolutionaryAlgorithm
Returns the current non-dominated archive of the best solutions generated
by this evolutionary algorithm, or null if no archive is used.
Specified by: getArchive in interface EpsilonBoxEvolutionaryAlgorithm Specified by: getArchive in interface EvolutionaryAlgorithm Overrides: getArchive in class AbstractEvolutionaryAlgorithm
Returns: the current non-dominated archive of the best solutions generated
by this evolutionary algorithm, or null if no archive is
used
getPopulation
public NondominatedSortingPopulation getPopulation ()
Description copied from interface: EvolutionaryAlgorithm
Returns the current population of this evolutionary algorithm.
Specified by: getPopulation in interface EvolutionaryAlgorithm Overrides: getPopulation in class AbstractEvolutionaryAlgorithm
Returns: the current population of this evolutionary algorithm
Copyright 2009-2015 MOEA Framework. All rights reserved. Licensed under the GNU Lesser General Public License . Return to the MOEA Framework homepage . Hosted by