|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--evSOLve.JEvolution.JEvolutionReporter
Do the statistics for a JEvolutionary Algorithm and report on results. Various statistics like fitness and genotype of Individuals are prepared. The amount of information reported can be adjusted.
Field Summary | |
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. |
Method Summary | |
double |
getBestFitnessOfRun()
Access the last run's best fitness. |
Phenotype |
getBestPhenotype()
Gives the best Phenotype of a run or a series of runs. |
int |
getIndividualsDone()
Access the current number of fitness calculations performed. |
int |
getReportLevel()
Access report level. |
boolean |
isFitnessRepositoryUsed()
Access status of the use of fitness repository. |
void |
setPrintWriter(java.io.PrintWriter printWriter)
Define the output sink. |
void |
setReportLevel(int reportLevel)
Change report level. |
void |
useFitnessRepository(boolean on)
Switch the use of fitness repository on/off. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int QUIET
public static final int MINIMAL
public static final int BRIEF
public static final int VERBOSE
Method Detail |
public 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 double getBestFitnessOfRun()
public Phenotype getBestPhenotype()
public void setPrintWriter(java.io.PrintWriter printWriter)
printWriter
- prints results to attached device
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |