Isometric embedding of vertices in their contour-coded tree #
A vertex is represented by its first contour visit. The minimum between two such visits is their common ancestor's depth, so the coding distance agrees with the graph metric. The embedding preserves the root. Its mass comparison with the contour's Lebesgue pushforward is a separate result.
Time of the first visit to a present vertex, in the normalized contour traversal.
Equations
- BGW.ContinuumTrees.FiniteTree.vertexTime t u = t.contourTime ⟨2 * List.idxOf (↑u) t.vertices - (↑u).length, ⋯⟩
Instances For
The continuous contour at a vertex's first visit records its depth.
The image of a vertex in the real tree coded by the interpolated contour.
Equations
Instances For
The contour-coded distance between vertices is exactly their existing graph metric.
The embedding sends the finite tree's root to the coding root.
The addition-only relation between first-visit time, depth and DFS index.
First-visit time is close to normalized DFS rank when depth is small relative to size.