Function ADS::dary_parent

Function Documentation

inline long ADS::dary_parent(long i, long d)

the place of the parent of the node in the place i > 0

Pre:

i > 0 , d >= 1