es.udc.gii.common.eaf.log.parallel
Class MigrationLogTool
java.lang.Object
es.udc.gii.common.eaf.log.LogTool
es.udc.gii.common.eaf.log.parallel.ParallelLogTool
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
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 java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
firstLog
private boolean firstLog
MigrationLogTool
public MigrationLogTool()
- Creates a new instance of MigrationLogTool
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