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

java.lang.Object
  extended by es.udc.gii.common.eaf.log.LogTool
      extended by es.udc.gii.common.eaf.log.parallel.ParallelLogTool
All Implemented Interfaces:
Configurable, java.util.Observer
Direct Known Subclasses:
BestIndividualLogTool, DistributedEvaluationLogTool, MigrationLogTool, ParallelBestFEsLogTool, ParallelBestMeanLogTool, ParallelCMABestFEsLogTool, ParallelCMABestMeanLogTool, ParallelCMAFEsLogTool, ParallelFEsLogTool, PopulationLogTool

public abstract class ParallelLogTool
extends LogTool

The base class for all parallel log tools.

For using this class, a parallel environment must be configured and initialized.

This class ensures that each node has a unique named log file. The file name is that supplied by the user followed by an underscore and the rank number of the node. For example, if the user supplied the file name xxxx.txt, the log file of the first 3 nodes would be xxxx_0.txt, xxxx_1.txt and xxxx_2.txt respectively.

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

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

Field Detail

t0

protected long t0
Constructor Detail

ParallelLogTool

public ParallelLogTool()
Creates a new instance of ParallelLogTool

Method Detail

getNodeID

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