public static < S , I , O > int computeEffectiveResets ( final ADTNode < S , I , O > adt ) { return computeEffectiveResetsInternal ( adt , 0 ) ; }
Computes how often reset nodes are encountered when traversing from the given node to the leaves of the induced subtree of the given node .