English

Combinatorial generation via permutation languages. IV. Elimination trees

Discrete Mathematics 2023-09-19 v5 Combinatorics

Abstract

An elimination tree for a connected graph GG is a rooted tree on the vertices of GG obtained by choosing a root xx and recursing on the connected components of GxG-x to produce the subtrees of xx. Elimination trees appear in many guises in computer science and discrete mathematics, and they encode many interesting combinatorial objects, such as bitstrings, permutations and binary trees. We apply the recent Hartung-Hoang-M\"utze-Williams combinatorial generation framework to elimination trees, and prove that all elimination trees for a chordal graph GG can be generated by tree rotations using a simple greedy algorithm. This yields a short proof for the existence of Hamilton paths on graph associahedra of chordal graphs. Graph associahedra are a general class of high-dimensional polytopes introduced by Carr, Devadoss, and Postnikov, whose vertices correspond to elimination trees and whose edges correspond to tree rotations. As special cases of our results, we recover several classical Gray codes for bitstrings, permutations and binary trees, and we obtain a new Gray code for partial permutations. Our algorithm for generating all elimination trees for a chordal graph GG can be implemented in time O(σ)\mathcal{O}(\sigma) on average per generated elimination tree, where σ=σ(G)\sigma=\sigma(G) denotes the maximum number of edges of an induced star in GG. If GG is a tree, we improve this to a loopless algorithm running in time O(1)\mathcal{O}(1) per generated elimination tree. We also prove that our algorithm produces a Hamilton cycle on the graph associahedron of GG, rather than just Hamilton path, if the graph GG is chordal and 2-connected. Moreover, our algorithm characterizes chordality, i.e., it computes a Hamilton path on the graph associahedron of GG if and only if GG is chordal.

Keywords

Cite

@article{arxiv.2106.16204,
  title  = {Combinatorial generation via permutation languages. IV. Elimination trees},
  author = {Jean Cardinal and Arturo Merino and Torsten Mütze},
  journal= {arXiv preprint arXiv:2106.16204},
  year   = {2023}
}

Comments

Improved implementation and running time of the algorithm

R2 v1 2026-06-24T03:46:31.635Z