es.udc.gii.common.eaf.log
Class BestIndividualLogTool

java.lang.Object
  extended by es.udc.gii.common.eaf.log.LogTool
      extended by es.udc.gii.common.eaf.log.BestIndividualLogTool
All Implemented Interfaces:
Configurable, java.util.Observer

public class BestIndividualLogTool
extends LogTool

This log tool implements a log tool that record the number of generations performed and the best individual after the replace stage of the algorithm. This log tool does not need any kind of configuration, apart from the configuration need in the superclass.

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

Field Summary
private  int fes_index
           
private  java.util.List fes_prints
           
 
Fields inherited from class es.udc.gii.common.eaf.log.LogTool
fileExtension, name, oldFolder, oldName
 
Constructor Summary
BestIndividualLogTool()
           
 
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 es.udc.gii.common.eaf.log.LogTool
finalize, getLog, getNodeID, setFile
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fes_prints

private java.util.List fes_prints

fes_index

private int fes_index
Constructor Detail

BestIndividualLogTool

public BestIndividualLogTool()
Method Detail

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

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

getLogID

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