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

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.ParallelBestMeanLogTool
All Implemented Interfaces:
Configurable, java.util.Observer

public class ParallelBestMeanLogTool
extends ParallelLogTool

A parallel log tool for logging the best and mean fitness of a population. The output reads as follows:

 generations - best fitness - mean fitness
 
There is a line per generation of the algorithm. The log is written after the replace state. In an island model this log tool logs for each island in an independent file. For a distributed evaluation model, only one 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
ParallelBestMeanLogTool()
           
 
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

ParallelBestMeanLogTool

public ParallelBestMeanLogTool()
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