es.udc.gii.common.eaf.log.parallel
Class PopulationLogTool
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.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)
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 |
PopulationLogTool
public PopulationLogTool()
- Creates a new instance of PopulationLogTool
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