public class RunEntry
extends java.lang.Object
getGeneration() refer to the
last generation when improvement occurred.StatisticsLogger| Constructor and Description |
|---|
RunEntry(int generation,
double fitness,
int active,
boolean successful)
Creates a new run entry for a logger.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveNodes() |
double |
getFitness() |
int |
getGeneration() |
boolean |
isSuccessful() |
public RunEntry(int generation,
double fitness,
int active,
boolean successful)
generation - the generation when fitness improvement last occurred.fitness - the best fitness achieved.active - the number of active nodes in the best solution found.successful - whether or not the run found a perfect solution.public int getGeneration()
public double getFitness()
public boolean isSuccessful()
public int getActiveNodes()