English

Exact counting of Euler Tours for generalized series-parallel graphs

Data Structures and Algorithms 2015-03-17 v1 Discrete Mathematics Combinatorics

Abstract

We give a simple polynomial-time algorithm to exactly count the number of Euler Tours (ETs) of any Eulerian generalized series-parallel graph, and show how to adapt this algorithm to exactly sample a random ET of the given generalized series-parallel graph. Note that the class of generalized seriesparallel graphs includes all outerplanar graphs. We can perform the counting in time O(mΔ3)O(m\Delta^3), where Δ\Delta is the maximum degree of the graph with mm edges. We use O(mΔ2logΔ)O(m\Delta^2 \log \Delta) bits to store intermediate values during our computations. To date, these are the first known polynomial-time algorithms to count or sample ETs of any class of graphs; there are no other known polynomial-time algorithms to even approximately count or sample ETs of any other class of graphs. The problem of counting ETs is known to be #P-complete for general graphs (Brightwell and Winkler, 2005 [3]) and also for planar graphs (Creed, 2009 [4]).

Keywords

Cite

@article{arxiv.1005.3477,
  title  = {Exact counting of Euler Tours for generalized series-parallel graphs},
  author = {Prasad Chebolu and Mary Cryan and Russell Martin},
  journal= {arXiv preprint arXiv:1005.3477},
  year   = {2015}
}

Comments

Article - 17 pages + Abstract - 1 page, 2 figures

R2 v1 2026-06-21T15:25:05.936Z