#include <Automaton.h>
Public Member Functions | |
Node (T *cell, int begin, int end) | |
The constructor. | |
Public Attributes | |
T * | centerCell |
The pointer to the game board. | |
int | endNeighbor |
The end index in the vector of Neighbor's pointer. | |
int | beginNeighbor |
The begin index in the vector of Neighbor's pointer. |
The Node objects represents the node in the graph, contain a pointer to a state value in the values matrix, and a pointers to other states in the matrix representing the edge structure
Automaton< T >::Node::Node | ( | T * | cell, | |
int | begin, | |||
int | end | |||
) | [inline] |
The constructor.
The constructor input, are a pointer to the states matrix, the vertex in the graph, and two ints variables representing the start and end index of the Neighbors pointer container, this is the representation of the edges for this graph element, the pointer "package" that is the Neighborhood.