class documentation
class BinaryEulerTour(EulerTour):
Known subclasses: dsap.trees.euler_tour_examples.BinaryLayout
Abstract base class for performing Euler tour of a binary tree.
This version includes an additional _hook_invisit that is called after the tour of the left subtree (if any), yet before the tour of the right subtree (if any).
Note: Right child is always assigned index 1 in path, even if no left sibling.
Method | _hook |
Visit Position p, between tour of its left and right subtrees. |
Method | _tour |
Undocumented |
overridden in
dsap.trees.euler_tour_examples.BinaryLayout
Visit Position p, between tour of its left and right subtrees.