Represents a type of cellular automaton called DiscreteAutomaton.
More...
#include <cells.h>
Represents a type of cellular automaton called DiscreteAutomaton.
◆ DiscreteAutomaton() [1/3]
DiscreteAutomaton::DiscreteAutomaton |
( |
| ) |
|
◆ DiscreteAutomaton() [2/3]
DiscreteAutomaton::DiscreteAutomaton |
( |
int |
x, |
|
|
int |
y, |
|
|
double |
value |
|
) |
| |
Parameterized constructor for DiscreteAutomaton.
- Parameters
-
x | The x-coordinate of the cell. |
y | The y-coordinate of the cell. |
value | The value of the cell. |
◆ DiscreteAutomaton() [3/3]
◆ get_value()
virtual double DiscreteAutomaton::get_value |
( |
| ) |
|
|
pure virtual |
◆ get_x()
virtual int DiscreteAutomaton::get_x |
( |
| ) |
|
|
pure virtual |
◆ get_y()
virtual int DiscreteAutomaton::get_y |
( |
| ) |
|
|
pure virtual |
◆ operator==()
Equality operator for DiscreteAutomaton.
- Parameters
-
- Returns
- true if both cells are equal, false otherwise.
◆ set_value()
void DiscreteAutomaton::set_value |
( |
double |
value | ) |
|
◆ set_x()
void DiscreteAutomaton::set_x |
( |
int |
x | ) |
|
◆ set_y()
void DiscreteAutomaton::set_y |
( |
int |
y | ) |
|
◆ value
double DiscreteAutomaton::value |
|
private |
The documentation for this class was generated from the following files: