An incremental unique representation for regular trees

  • Authors:
  • Laurent Mauborgne

  • Affiliations:
  • Département d'Informatique École Normale Supérieure 45 rue d'Ulm, 75 230 Paris cedex 05, France

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

In order to deal with infinite regular trees (or other pointed graph structures) efficiently, we give new algorithms to store such structures. The trees are stored in such a way that their representation is unique and shares substructures as much as possible. This maximal sharing allows substantial memory gain and speed up over previous techniques. For example, equality testing becomes constant time (instead of O(nlog(n))). The algorithms are incremental, and as such allow good reactive behavior. These new algorithms are then applied in a representation of sets of trees. The expressive power of this new representation is exactly what is needed by the original set-based analyses of Heintze and Jaffar [1990], or Heintze [1994].