Class SimulatedEvolutionModel

java.lang.Object
org.woehlke.computer.kurzweil.tabs.simulatedevolution.SimulatedEvolutionModel
All Implemented Interfaces:
java.io.Serializable, TabModel

public class SimulatedEvolutionModel
extends java.lang.Object
implements java.io.Serializable, TabModel
The World contains Water, Cells and Food. It is the Data Model of the Simulation in a MVC Pattern.
Author:
Thomas Woehlke User: thomas Date: 04.02.2006 Time: 19:06:20
See Also:
Cell, 2006 - 2008 Thomas Woehlke. http://thomas-woehlke.de/p/simulated-evolution/, Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    SimulatedEvolutionModel​(WorldPoint worldDimensions)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<Cell> getAllCells()  
    boolean hasFood​(int x, int y)  
    void letLivePopulation()
    One Step of Time in the World in which the Population of Bacteria Cell perform Life: Every Cell moves, eats, dies of hunger, and it has sex: splitting into two children with changed DNA.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimulatedEvolutionModel

      public SimulatedEvolutionModel​(WorldPoint worldDimensions)
  • Method Details

    • letLivePopulation

      public void letLivePopulation()
      One Step of Time in the World in which the Population of Bacteria Cell perform Life: Every Cell moves, eats, dies of hunger, and it has sex: splitting into two children with changed DNA.
    • getAllCells

      public java.util.List<Cell> getAllCells()
    • hasFood

      public boolean hasFood​(int x, int y)