Public Member Functions | |
cnode (int d, int i) | |
Public Attributes | |
int | degree |
int | ID |
When calculating the independent set to use, nodes will have to be moved around (sorted). This structure is used to keep the node ID and degree together for retrieval after sorting.
|
inline |
Constructor - Each node needs a degree and an ID or else it's not being used correctly