| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represent evolution (time).
Inner Class Summary | |
(package private) class | Evolution.ClockThread The clock as a seperate thread. |
(package private) class | Evolution.LivingBeingTester For debugging. |
Constructor Summary | |
protected | Evolution() Construct an Evolution object. |
Method Summary | |
synchronized void | deregister(Evolver e) Deregister an Evolver. |
protected Map | difference(Map m1, Map m2) Calculate the difference of two (String, Double) maps. |
List | getEvolverList() Get the list of evolvers. |
static Evolution | getInst() Get the singleton instance. |
double | getTimeFactor() Get the time factor. |
static void | initialize() Initialize the instance of this singleton. |
boolean | isRunning() Is evolution running? |
static void | main(String[] args) For debugging. |
void | pause() Pause the evolution. |
synchronized void | register(Evolver e) Register an Evolver. |
void | resume() Resume the evolution. |
void | setTimeFactor(double factor) Set the time factor. |
protected void | test(int ttl) For debugging. |
protected synchronized void | tick() This method is called on regular basis when running. |
Constructor Detail |
protected Evolution()
Method Detail |
public synchronized void deregister(Evolver e)
protected Map difference(Map m1, Map m2)
public List getEvolverList()
public static Evolution getInst()
public double getTimeFactor()
public static void initialize()
public boolean isRunning()
public static void main(String[] args)
throws java.lang.InterruptedException
public void pause()
public synchronized void register(Evolver e)
public void resume()
public void setTimeFactor(double factor)
protected void test(int ttl)
protected synchronized void tick()
Association Links |
to Class java.util.List
to Class evolution.Evolution.ClockThread
to Class evolution.Evolution
| a gvijf production | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |