T - The type of entity that we are reporting.public class ReportEngine<T extends AbstractMutant>
extends java.lang.Object
Generates excel reports of the run results
| Constructor and Description |
|---|
ReportEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(java.io.File outputDir,
int maxOrder,
com.google.common.base.Stopwatch stopwatch) |
void |
record(int generationNumber,
Population<T> population,
java.util.Set<T> mutants,
java.util.Set<T> liveMutants,
java.util.Set<T> subtleMutants) |
void |
record(Record<T> record) |
public void record(int generationNumber,
Population<T> population,
java.util.Set<T> mutants,
java.util.Set<T> liveMutants,
java.util.Set<T> subtleMutants)
generationNumber - reachedpopulation - of current generationmutants - generated so farliveMutants - generated so farsubtleMutants - generated so farpublic void export(java.io.File outputDir,
int maxOrder,
com.google.common.base.Stopwatch stopwatch)
outputDir - to save the report inmaxOrder - not to be exceededstopwatch - of the GeneticAlgorithm