Efficient prüfer-like coding and counting labelled hypertrees

  • Authors:
  • Saswata Shannigrahi;Sudebkumar Prasant Pal

  • Affiliations:
  • School of Technology and Computer Science, Tata Institute of Fundamental Research, Mumbai, India;Department of Computer Science and Engineering, and Centre for Theoretical Studies, Indian Institute of Technology, Kharagpur, India

  • Venue:
  • ISAAC'06 Proceedings of the 17th international conference on Algorithms and Computation
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We show that r-uniform hypertrees can be encoded in linear time using as little as n–2 integers in the range [1,n]. The decoding algorithm also runs in linear time. For general hypertrees, we require codes of length n+e–2, where e is the number of hyperedges. We show that there are at most $\frac {n^{(n-2)}-f(n,r)}{(r-1)^{(r-2)*\frac{n-1}{r-1}}}$ distinct labeled r-uniform hypertrees, where f(n,r) is a lower bound on the number of trees with vertex degrees exceeding $(r-1)+\frac {n-1}{r-1}-2$. We suggest a counting scheme for determining f(n,r).