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 Populations 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)
           
 
Method Summary
 java.util.Set getPopulations()
           
abstract  void start()
           
 void stepGeneration()
           
abstract  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

World

public World(java.util.Collection populations)
Parameters:
populations - comprising this World
Method Detail

getPopulations

public java.util.Set getPopulations()

start

public abstract void start()

stop

public abstract void stop()

stepGeneration

public void stepGeneration()

artoflife pre0.1.0-dev

Copyright © 2002 the Art Of Life team. All Rights Reserved.