es.udc.gii.common.eaf.log.parallel
Class PopulationLogTool

java.lang.Object
  extended by es.udc.gii.common.eaf.log.LogTool
      extended by es.udc.gii.common.eaf.log.parallel.ParallelLogTool
          extended by es.udc.gii.common.eaf.log.parallel.PopulationLogTool
All Implemented Interfaces:
Configurable, java.util.Observer

public class PopulationLogTool
extends ParallelLogTool

Logs the population in each state in a parallel evolutionary algorithm.

The output reads as follows:

 State: ...
 Generations: ...
 Population:
 ...
 
The "..." are replaced by the current state of the algorithm, the number of generations so far and the whole population repectively.

In an island model this log tool logs each population of each island in an independent file. For a distributed evaluation model, only a file is needed.

Since:
1.0
Author:
Grupo Integrado de IngenierĂ­a (www.gii.udc.es)

Field Summary
 
Fields inherited from class es.udc.gii.common.eaf.log.parallel.ParallelLogTool
t0
 
Fields inherited from class es.udc.gii.common.eaf.log.LogTool
fileExtension, name, oldFolder, oldName
 
Constructor Summary
PopulationLogTool()
          Creates a new instance of PopulationLogTool
 
Method Summary
 java.lang.String getLogID()
           
 void update(java.util.Observable o, java.lang.Object arg)
           
 
Methods inherited from class es.udc.gii.common.eaf.log.parallel.ParallelLogTool
getNodeID
 
Methods inherited from class es.udc.gii.common.eaf.log.LogTool
configure, finalize, getLog, setFile
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopulationLogTool

public PopulationLogTool()
Creates a new instance of PopulationLogTool

Method Detail

getLogID

public java.lang.String getLogID()
Overrides:
getLogID in class LogTool

update

public void update(java.util.Observable o,
                   java.lang.Object arg)
Specified by:
update in interface java.util.Observer
Overrides:
update in class LogTool