Community Pruning
Post processing community structures.
 All Classes Files Functions
Public Member Functions | Public Attributes | List of all members
cnode Struct Reference

Public Member Functions

 cnode (int d, int i)
 

Public Attributes

int degree
 
int ID
 

Detailed Description

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.

Constructor & Destructor Documentation

cnode::cnode ( int  d,
int  i 
)
inline

Constructor - Each node needs a degree and an ID or else it's not being used correctly


The documentation for this struct was generated from the following file: