Automaton< T >::Node Struct Reference

This structure represent a vertex in graph with all is properties. More...

#include <Automaton.h>

List of all members.

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.


Detailed Description

template<class T>
struct Automaton< T >::Node

This structure represent a vertex in graph with all is properties.

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


Constructor & Destructor Documentation

template<class T>
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.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 17 00:04:36 2006 for Cagecpp by  doxygen 1.4.7