es.udc.gii.common.eaf.algorithm.operator.replace
Class NSGA2ReplaceOperator

java.lang.Object
  extended by java.util.Observable
      extended by es.udc.gii.common.eaf.algorithm.operator.replace.ReplaceOperator
          extended by 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.

Author:
rafa

Constructor Summary
NSGA2ReplaceOperator()
          Creates a new instance of MOPReplaceOperator
 
Method Summary
private  java.util.List<java.util.List<NSGA2Individual>> getFronts(java.util.List<Individual> pop, int nFronts)
           
protected  java.util.List<Individual> replace(EvolutionaryAlgorithm algorithm, java.util.List<Individual> toPopulation)
           
 java.lang.String toString()
           
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.replace.ReplaceOperator
configure, operate
 
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
 

Constructor Detail

NSGA2ReplaceOperator

public NSGA2ReplaceOperator()
Creates a new instance of MOPReplaceOperator

Method Detail

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