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

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

public class MigrationLogTool
extends ParallelLogTool

Logs the migrations in a parallel evolutionary algorithm.

The output reads as follows:

 This node sends to:
   ... ranks of the nodes to which this island sends individuals ...
 This node receives from:
   ... ranks of the nodes from which this island receives individuals ...

 [topology rank = ... rank of this island ...]
  GENERATION ... generations ...

 Current population: ... current island population ...
 Sending MigrationObject: ... migration object with the individuals sent to
 other islands (and the ranks of those islands) ...

 Received MigrationObject: ... received migration object with the individuals
 received from other islands (and the ranks of those islands) ...

 Accepted individuals: ... accepted individuals from other islands ...

 Culled individuals: ... culled individuals from the current population ...
 

Since:
1.0
Author:
Grupo Integrado de IngenierĂ­a (www.gii.udc.es)
See Also:
MigrationOperator, MigrationTopology

Field Summary
private  boolean firstLog
           
 
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
MigrationLogTool()
          Creates a new instance of MigrationLogTool
 
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
 

Field Detail

firstLog

private boolean firstLog
Constructor Detail

MigrationLogTool

public MigrationLogTool()
Creates a new instance of MigrationLogTool

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