A New Algorithm for Building Alphabetic Minimax Trees

  • Authors:
  • Travis Gagie

  • Affiliations:
  • Department of Computer Science, University of Eastern Piedmont, 15100 Alessandria (AL), Italy. E-mail: travis@mfn.unipmn.it

  • Venue:
  • Fundamenta Informaticae - Special Issue on Stringology
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

We show how to build an alphabetic minimax tree for a sequence W = w$_1$, …, w$_n$ of real weights in O(nd log log n) time, where d is the number of distinct integers ⌈wi⌉. We apply this algorithm to building an alphabetic prefix code given a sample.