es.udc.gii.common.eaf.log.nsga2
Class NSGA2LogTool

java.lang.Object
  extended by es.udc.gii.common.eaf.log.LogTool
      extended by es.udc.gii.common.eaf.log.nsga2.NSGA2LogTool
All Implemented Interfaces:
Configurable, java.util.Observer
Direct Known Subclasses:
NSGA2FinalParetoFrontLogTool, NSGA2ObjectiveValuesStatisticsLogTool

public abstract class NSGA2LogTool
extends LogTool

Author:
rafa

Field Summary
 
Fields inherited from class es.udc.gii.common.eaf.log.LogTool
fileExtension, name, oldFolder, oldName
 
Constructor Summary
NSGA2LogTool()
           
 
Method Summary
 java.util.List<NSGA2Individual> getFirstFront(java.util.List<Individual> population)
          Returns the individuals in the first Pareto-front in a population.
 
Methods inherited from class es.udc.gii.common.eaf.log.LogTool
configure, finalize, getLog, getLogID, getNodeID, setFile, update
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSGA2LogTool

public NSGA2LogTool()
Method Detail

getFirstFront

public java.util.List<NSGA2Individual> getFirstFront(java.util.List<Individual> population)
Returns the individuals in the first Pareto-front in a population.

Parameters:
population - - List of individuals.
Returns:
A list of individuals belonging to the first Pareto-front or an empty list if population is null or empty.
Throws:
WrongIndividualException - - If the passed list of individuals contains instances that are not instances of NSGA2Individual.