es.udc.gii.common.eaf.algorithm.operator.replace
Class NSGA2ReplaceOperator
java.lang.Object
java.util.Observable
es.udc.gii.common.eaf.algorithm.operator.replace.ReplaceOperator
es.udc.gii.common.eaf.algorithm.operator.replace.NSGA2ReplaceOperator
- All Implemented Interfaces:
- Operator, Configurable
public class NSGA2ReplaceOperator
- extends ReplaceOperator
The replace operator for the NSGA2Algorithm
.
- Since:
- 1.0
- Author:
- Grupo Integrado de IngenierĂa (www.gii.udc.es)
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NSGA2ReplaceOperator
public NSGA2ReplaceOperator()
- Creates a new instance of MOPReplaceOperator
replace
protected java.util.List<Individual> replace(EvolutionaryAlgorithm algorithm,
java.util.List<Individual> toPopulation)
- Specified by:
replace
in class ReplaceOperator
getFronts
private java.util.List<java.util.List<NSGA2Individual>> getFronts(java.util.List<Individual> pop,
int nFronts)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object