parent abstract method

int parent(
  1. int node
)

0 when the parent is not a node.

Implementation

int parent(int node);