es.udc.gii.common.eaf.log.parallel
Class ParallelFEsLogTool
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.ParallelFEsLogTool
- All Implemented Interfaces:
- Configurable, java.util.Observer
public class ParallelFEsLogTool
- extends ParallelLogTool
A parallel log tool for logging the best fitness of a population. The
best fitness is logged when user defined objective function evaluations
have been performed.
Configuration:
<Fes_Prints>...</Fes_Prints>
<Fes_Prints>...</Fes_Prints>
...
Each of the Fes_Prints
(one or more) parameters states after how many objective
function evaluations the best fitness of the population is logged. The
log is written after the replace state and after the final state.
The output reads as follows:
The best fitness per line per Fes_Prints
.
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)
- See Also:
ParallelBestFEsLogTool
Method Summary |
void |
configure(org.apache.commons.configuration.Configuration conf)
Configures the specific element that implements this method. |
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 |
num_prints
private int num_prints
fes_prints
private java.util.List fes_prints
fes_index
private int fes_index
ParallelFEsLogTool
public ParallelFEsLogTool()
configure
public void configure(org.apache.commons.configuration.Configuration conf)
- Description copied from interface:
Configurable
- Configures the specific element that implements this method.
- Specified by:
configure
in interface Configurable
- Overrides:
configure
in class LogTool
- Parameters:
conf
- a Configuration object.- See Also:
Configuration
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