|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gap.LogBook | +--gap.LogScreen
Field Summary | |
boolean |
verbose
|
Constructor Summary | |
LogScreen()
|
|
LogScreen(boolean verbose)
|
Method Summary | |
void |
log(java.lang.String msg)
Called to log some messages. |
void |
logStats(GPProgram bestIndividual,
double bestFitness,
double averageFitness,
double worstFitness,
GPPopulation p)
Called after the evaluation of the population. |
void |
stop()
Called if requested to stop logging. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean verbose
Constructor Detail |
public LogScreen()
public LogScreen(boolean verbose)
verbose
- If verbose, print each generation all the population.Method Detail |
public void log(java.lang.String msg)
LogBook
log
in class LogBook
gap.LogBook
msg
- A message, without the newline character.public void logStats(GPProgram bestIndividual, double bestFitness, double averageFitness, double worstFitness, GPPopulation p)
LogBook
logStats
in class LogBook
public void stop()
LogBook
stop
in class LogBook
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |