AVL Tree refactor
This commit is contained in:
parent
92d8b04cf8
commit
db1a6b35ef
8 changed files with 511 additions and 376 deletions
|
|
@ -60,7 +60,7 @@ namespace tp {
|
|||
private:
|
||||
template <typename tFunctor>
|
||||
void forEachIntersectionUtil(const Node* node, tType start, tType end, tFunctor functor, ualni& debug) const {
|
||||
if (node == nullptr) return;
|
||||
if (node->mHeight == -1) return; // sentinel node (null node)
|
||||
|
||||
debug++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue