Loading [MathJax]/extensions/tex2jax.js
mrf  v0.2.0
All Data Structures Files Functions Pages

◆ new_node()

struct Node* new_node ( int  id,
int  degree,
int  dim 
)

Create a new node.

Parameters
idthe identifier of the node
degreethe number of neighbors the node will have
dimthe dimensionality of the node
Returns
struct Node*