Tree Distance Sandbox

← Technical Site

Click any two or three leaves

Click leaves to select them. Two leaves = distance comparison. Three leaves = triadic rigidity test.

Cophenetic Distance

--
Depth of common ancestor (tree distance)

Ultrametric Distance

--
Strong triangle inequality: d(x,z) ≤ max{d(x,y), d(y,z)}

Euclidean Distance

--
What the distance would be in ℝ²

Triadic Rigidity

--
In ultrametric space: the two largest of three distances are ALWAYS equal