fn new(initialstate: &str, cellsize: f32) -> Self {
        Self {
            grid: Self::Grid::new(cellsize),
            initialstate: initialstate.to_string(),
            cellsize,
            generation: 0,
            alive: 0,
            dead: 0,
        }
    }
/// A constructor method that creates a null automaton
/// ands sets the initial state and cell size parameters.
A constructor method that creates a null automaton
ands sets the initial state and cell size parameters.
A constructor method that creates a null automaton ands sets the initial state and cell size parameters .
fn new(initialstate: &str, cellsize: f32) -> Self {
        Self {
            grid: Self::Grid::new(cellsize),
            initialstate: initialstate.to_string(),
            cellsize,
            generation: 0,
            alive: 0,
            dead: 0,
        }
    }
fn new ( initialstate : & str , cellsize : f32 ) -> Self { Self { grid : Self :: Grid :: new ( cellsize ) , initialstate : initialstate . to_string ( ) , cellsize , generation : 0 , alive : 0 , dead : 0 , } }
A constructor method that creates a null automaton
ands sets the initial state and cell size parameters.
A constructor method that creates a null automaton ands sets the initial state and cell size parameters .
initialstate
&str
cellsize
f32
initialstate
&str
cellsize
f32