org.artoflife.gp
Class World
java.lang.Object
|
+--org.artoflife.gp.World
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- TimedStepWorld
- public abstract class World
- extends java.lang.Object
- implements java.io.Serializable
A World contains a number of Population
s
and can be serialized so that it carries on where it
left upon re-loading. A World steps through breeding
cycles of its Populations and can be explicitly started
and stopped.
- Author:
- Steve Meyfroidt
- See Also:
- Serialized Form
Constructor Summary |
World(java.util.Collection populations)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
World
public World(java.util.Collection populations)
- Parameters:
populations
- comprising this World
getPopulations
public java.util.Set getPopulations()
start
public abstract void start()
stop
public abstract void stop()
stepGeneration
public void stepGeneration()
Copyright © 2002 the Art Of Life team. All Rights Reserved.