|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgap.audit.TimedMonitor
public class TimedMonitor
Monitors the evolution and stops it after a given number of seconds.
| Constructor Summary | |
|---|---|
TimedMonitor(int a_seconds)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
nextCycle(Population a_pop,
java.util.List<java.lang.String> a_messages)
Called after another evolution cycle has been executed. |
void |
start(Configuration a_config)
Called just before the evolution starts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimedMonitor(int a_seconds)
a_seconds - number of seconds to let the evolution run| Method Detail |
|---|
public boolean nextCycle(Population a_pop,
java.util.List<java.lang.String> a_messages)
nextCycle in interface IEvolutionMonitora_pop - the currently evolved populationa_messages - the monitor can append messages here to indicate why
it asks evolution to stop
public void start(Configuration a_config)
start in interface IEvolutionMonitora_config - the configuration used
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||