public class StatisticsLogger extends java.lang.Object implements EvolutionObserver<NAryTree>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
colSep |
java.text.DecimalFormat |
df |
java.text.SimpleDateFormat |
sdf |
Constructor and Description |
---|
StatisticsLogger(ETMParamAbstract params) |
Modifier and Type | Method and Description |
---|---|
void |
closeFile() |
void |
populationUpdate(PopulationData<? extends NAryTree> data)
Invoked when the state of the population has changed (typically
at the end of a generation).
|
public static java.lang.String colSep
public java.text.SimpleDateFormat sdf
public java.text.DecimalFormat df
public StatisticsLogger(ETMParamAbstract params)
public void populationUpdate(PopulationData<? extends NAryTree> data)
EvolutionObserver
populationUpdate
in interface EvolutionObserver<NAryTree>
data
- Statistics about the state of the current generation.public void closeFile()