English

Pr\"{u}fer codes on vertex-colored rooted trees

Combinatorics 2025-06-23 v1

Abstract

Pr\"{u}fer codes provide an encoding scheme for representing a vertex-labeled tree on nn vertices with a string of length n2n-2. Indeed, two labeled trees are isomorphic if and only if their Pr\"{u}fer codes are identical, and this supplies a proof of Cayley's Theorem. Motivated by a graph decomposition of freight networks into a corpus of vertex-colored rooted trees, we extend the notion of Pr\"{u}fer codes to that setting, i.e., trees without a unique labeling, by defining a canonical label for a vertex-colored rooted tree and incorporating vertex colors into our variation of the Pr\"{u}fer code. Given a pair of trees, we prove properties of the vertex-colored Pr\"{u}fer code (abbreviated VCPC) equivalent to (1) isomorphism between a pair of vertex-colored rooted trees, (2) the subtree relationship between vertex-colored rooted trees, and (3) when one vertex-colored rooted tree is isomorphic to a minor of another vertex-colored rooted tree.

Keywords

Cite

@article{arxiv.2506.15796,
  title  = {Pr\"{u}fer codes on vertex-colored rooted trees},
  author = {R. W. R. Darling and Grant Fickes},
  journal= {arXiv preprint arXiv:2506.15796},
  year   = {2025}
}

Comments

25 pages, 13 figures

R2 v1 2026-07-01T03:24:16.341Z