|
CellViz
1.0
|
#include <board.h>
Public Member Functions | |
| Board () | |
| Board (int width, int height, BoardType type, int population=0) | |
| Board (const Board &board) | |
| ~Board () | |
| void | add_cell (CellularAutomaton *cell) |
| void | set_grid (vector< vector< DiscreteAutomaton * >> &grid) |
| void | set_continuum (vector< ContinuousAutomaton * > &continuous) |
| CellularAutomaton * | get_cell (int x, int y) const |
| vector< ContinuousAutomaton * > | get_continuous () |
| vector< vector< DiscreteAutomaton * > > | get_grid () |
| int | get_current_population () |
| int | get_width () |
| int | get_height () |
| void | render () |
| Board | operator= (const Board &board) |
Private Attributes | |
| int | width |
| int | height |
| BoardType | type |
| int | population |
| int | current_population |
| vector< vector< DiscreteAutomaton * > > | grid |
| vector< ContinuousAutomaton * > | continuous |
| Board::Board | ( | ) |
| Board::Board | ( | int | width, |
| int | height, | ||
| BoardType | type, | ||
| int | population = 0 |
||
| ) |
| Board::Board | ( | const Board & | board | ) |
| Board::~Board | ( | ) |
| void Board::add_cell | ( | CellularAutomaton * | cell | ) |
| CellularAutomaton * Board::get_cell | ( | int | x, |
| int | y | ||
| ) | const |
| vector< ContinuousAutomaton * > Board::get_continuous | ( | ) |
| int Board::get_current_population | ( | ) |
| vector< vector< DiscreteAutomaton * > > Board::get_grid | ( | ) |
| int Board::get_height | ( | ) |
| int Board::get_width | ( | ) |
| void Board::render | ( | ) |
| void Board::set_continuum | ( | vector< ContinuousAutomaton * > & | continuous | ) |
| void Board::set_grid | ( | vector< vector< DiscreteAutomaton * >> & | grid | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |