|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.artoflife.gp.World
|
+--org.artoflife.gp.world.TimedStepWorld
A World that runs forever until stopped
or until a number of cycles have completed. This uses a
java.util.Timer to step each generation after a timed period.
| Constructor Summary | |
TimedStepWorld(java.util.Collection populations)
|
|
| Method Summary | |
long |
getPeriod()
|
void |
setPeriod(long period)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class org.artoflife.gp.World |
getPopulations, stepGeneration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TimedStepWorld(java.util.Collection populations)
| Method Detail |
public void start()
start in class Worldpublic void stop()
stop in class Worldpublic long getPeriod()
public void setPeriod(long period)
period - millis delay between generation steps
|
artoflife pre0.1.0-dev | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||