Ejemplo n.º 1
0
        public void SetForestFire(int w, int h)
        {
            const double P = 0.05;
            const double F = 0.001;

            CellularAutomaton = new CellularAutomaton <ForestFireCellState>(w, h, new ForestFireRules(P, F));
        }
Ejemplo n.º 2
0
 public void SetGameOfLife() => CellularAutomaton = new CellularAutomaton <GameOfLifeCellState>(100, 100, new GameOfLifeRules());