This class handles the topological information for the modules. Provides a lot of math-only utility functions. All the derived classes use those functions. The derived classes are.
* |GridPoint * |--/scGridPoint * |..../AbstractCore * |....../XXCore * |....../AbstractNeurer * |......../Neurer *
Inheritance diagram for GridPoint:Public Member Functions | |
| ClusterAddress_t | ClusterAddress_Get (void) |
| < Return the cluster address of the gridpoint, stored in the matrix | |
| void | ClusterAddress_Set (ClusterAddress_t CA) |
| Set the cluster address of the gridpoint. | |
| void | ClusterAddressHThread_Set (int H) |
| Set the cluster address of the gridpoint. | |
| ClusterStatus | ClusterStatus_Get (void) |
| Return the status of the gridpoint. | |
| void | ClusterStatus_Set (ClusterStatus CS) |
| Set the cstatus of the gridpoint. | |
| bool | Is2ndNeighborOf (GridPoint *GP) |
| Return true if we are a second neighbor of GP. More... | |
| bool | IsInTheSameClusterAs (GridPoint *GP) |
| Return true if we and GridPoint GP are in the same cluster. More... | |
| bool | IsNeighborOf (GridPoint *GP) |
| Return true if we are an immediate neighbor of GP. More... | |
| bool | IsTheSameAs (GridPoint *GP) |
| Return true if GridPoint GP is identical with us. More... | |
| string | StringOfClusterAddressName_Get (void) |
| Return the string form of our cluster address. More... | |
| string | StringOfThread_Get () |
| Return the string describing the actual thread. More... | |
Public Attributes | |
| ClusterAddress_t | mClusterAddress |
| The ClusterAddress_t address of the gridpoint. | |
| int8_t | X |
| The X index of the gridpont. | |
| int8_t | Y |
| The Y index of the gridpont. | |
|
inline |
Return true if we are a second neighbor of GP.
| [in] | GP | the other gridpoint |
|
inline |
Return true if we and GridPoint GP are in the same cluster.
| GP | The other gridpoint |
|
inline |
Return true if we are an immediate neighbor of GP.
| [in] | GP | the other gridpoint |
|
inline |
Return true if GridPoint GP is identical with us.
| GP | The other gridpoint |
|
inline |
Return the string form of our cluster address.
The string form comprises two parts
|
inline |
Return the string describing the actual thread.