| 133 | } |
| 134 | |
| 135 | void VisualNode::unPathUp(const NodeAllocator& na) { |
| 136 | VisualNode* cur = this; |
| 137 | while (!cur->isRoot()) { |
| 138 | cur->setOnPath(false); |
| 139 | cur = cur->getParent(na); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | int |
| 144 | VisualNode::getPathAlternative(const NodeAllocator& na) { |