parallel-cellular-automata
Framework for building parallel cellular automata.
Public Member Functions | List of all members
ca::AbstractCellularAutomaton Class Referenceabstract

Interface of the CellularAutomaton. More...

#include <cellular_automata.hpp>

Public Member Functions

virtual void simulate (unsigned steps=1)=0
 Run the simulation for a given number of steps. More...
 
virtual size_t get_generation ()=0
 Get the generation of the simulation. More...
 

Detailed Description

Interface of the CellularAutomaton.

Member Function Documentation

◆ get_generation()

virtual size_t ca::AbstractCellularAutomaton::get_generation ( )
pure virtual

Get the generation of the simulation.

Returns
size_t value of the generation member variable.

◆ simulate()

virtual void ca::AbstractCellularAutomaton::simulate ( unsigned  steps = 1)
pure virtual

Run the simulation for a given number of steps.

Parameters
stepsnumber of simulation steps to run.

The documentation for this class was generated from the following file: