es.udc.gii.common.eaf.log
Class BestSoFarFitnessEvolutionLogTool
java.lang.Object
es.udc.gii.common.eaf.log.LogTool
es.udc.gii.common.eaf.log.BestSoFarFitnessEvolutionLogTool
- All Implemented Interfaces:
- Configurable, java.util.Observer
public class BestSoFarFitnessEvolutionLogTool
- extends LogTool
This log tool logs the fitness of the best individual each n evaluations
of the objective function.
Note: Due to different factors, as for instance population size, this log tool
does not ensure an output *exactly* each n evaluations. It only ensures that there
will be an output (a log entry) when this log tool is called the first time
after at least n function evaluations have been performed.
- Since:
- 1.0
- Author:
- Grupo Integrado de IngenierĂa (www.gii.udc.es)
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 |
feStep
private int feStep
currentFes
private int currentFes
BestSoFarFitnessEvolutionLogTool
public BestSoFarFitnessEvolutionLogTool()
- Creates a new instance of BestSoFarFitnessEvolutionLogTool
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