reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
221 N.RightMostDescendant = Id - 1; 222 assert(N.RightMostDescendant >= 0 && 223 N.RightMostDescendant < Tree.getSize() && 225 if (N.isLeaf()) 227 N.Height = 1; 228 for (NodeId Child : N.Children) 229 N.Height = std::max(N.Height, 1 + Tree.getNode(Child).Height); 229 N.Height = std::max(N.Height, 1 + Tree.getNode(Child).Height);