GatingSet/GatingHierarchy C++ API
 All Classes Functions Variables
VertexID getAncestor ( VertexID  u,
unsigned short  level 
)

Get ancestor node for the given node

Assume getParent only returns one parent node per GatingHierarchy

Parameters
uthe given node ID
levelspecify the distance from the given node