public class JEvolutionReporter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BRIEF
Information on each generation.
|
static int |
MINIMAL
Global run information.
|
static int |
QUIET
No output from JevolutionStats.
|
static int |
VERBOSE
Report on each Individual.
|
| Modifier and Type | Method and Description |
|---|---|
Individual |
getBestIndividual()
Gives the best Individual of the last run.
|
int |
getIndividualsDone()
Access the current number of fitness calculations performed.
|
int |
getReportLevel()
Access report level.
|
SubPopulation |
getStarPool()
Returns star pool.
|
boolean |
isFitnessRepositoryUsed()
Access status of the use of fitness repository.
|
void |
setPrintWriter(java.io.PrintWriter printWriter)
Define the output sink for reports.
|
void |
setReportLevel(int reportLevel)
Change report level.
|
void |
setStarPool(boolean peaks)
Creates star pool with specific modes.
|
void |
useFitnessRepository(boolean on)
Switch the use of fitness repository on/off.
|
public static final int QUIET
public static final int MINIMAL
public static final int BRIEF
public static final int VERBOSE
public SubPopulation getStarPool()
setStarPool(boolean)public void setStarPool(boolean peaks)
throws JEvolutionException
peaks - store peak Individuals (if false, no pool)JEvolutionExceptionpublic int getReportLevel()
public void setReportLevel(int reportLevel)
throws JEvolutionException
reportLevel - The amount of information reported.JEvolutionException - Invalid level.public boolean isFitnessRepositoryUsed()
public void useFitnessRepository(boolean on)
on - Turns it on/off.public int getIndividualsDone()
public Individual getBestIndividual()
public void setPrintWriter(java.io.PrintWriter printWriter)
printWriter - prints results to attached devicesetReportLevel(int)