Skip to main content

On the expected number of nodes at level k in 0-balanced trees

  • Algorithms and Data Structures V
  • Conference paper
  • First Online:
STACS 98 (STACS 1998)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1373))

Included in the following conference series:

Abstract

An ordered tree with height n and m leaves is called 0-balanced if all leaves have the same level. We compute the average number of nodes (with specified degree) appearing at a given level in a 0-balanced ordered tree as well as in a 0-balanced t-ary ordered tree.

With respect to the former class we shall show that the average rate of increase of nodes amounts to gr := (m - 1)n −1 passing from one level to the next one. The same fact holds for nodes with a degree one at a large level. The average number of nodes with a degree two and that one with a degree greater than two tends to ρ and zero for large levels, respectively.

The class of 0-balanced t-ary trees corresponds to the set of all code trees associated with all n-block codes with m code words over a given alphabet with cardinality t. In that case, we shall show that all nodes with maximal degree t are concentrated at levels smaller than logt(m), and all nodes with degree one appear at levels greater than log, (m), on the average. This result implies that the first log, (m) positions in the m code words appearing in an n-block code over a given alphabet with cardinality t are sufficient to separate these words, on the average, provided that all those codes are equally likely.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Flajolet, Ph.: Analyse d'algorithmes de manipulation d'arbres et de fichiers, Cahiers BURG 34-35 (1981) 1–209.

    Google Scholar 

  2. Kemp, R.: The Expected Number of Nodes and Leaves at Level k in Ordered Trees, LNCS 145 (1983) 153–163.

    Google Scholar 

  3. Kemp, R.: Balanced Ordered Trees, Random Structures and Algorithms 5 (1) (1994) 99–121.

    Article  MATH  MathSciNet  Google Scholar 

  4. Kemp, R.: Generating Words Lexicographically: An Average-Case Analysis, Preprint, JWG-Universität Frankfurt am Main, FB 20, 1995 (to appear in Acta Informatica).

    Google Scholar 

  5. Kemp, R.: On Prefixes of Formal Languages and Their Relation to the Average-Case Complexity of the Membership Problem, Journal of Automata, Languages and Combinatorics 1 (1996), 259–303.

    MATH  MathSciNet  Google Scholar 

  6. Kemp, R.: On the Expected Number of Nodes at Level k in 0-balanced Ordered Trees, Tech. Rep. 1/97, JWG-Universität Frankfurt am Main, FB 20, 1997.

    Google Scholar 

  7. Knuth, D. E.: The Art of Computer Programming. Vol.1, 2nd ed. (Addison-Wesley, 1973).

    Google Scholar 

  8. Meir, M. and Moon, J. W.: On the Altitude of Nodes in Random Trees. Can. Math. 30 (1973), 997–1015.

    MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Michel Morvan Christoph Meinel Daniel Krob

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag

About this paper

Cite this paper

Kemp, R. (1998). On the expected number of nodes at level k in 0-balanced trees. In: Morvan, M., Meinel, C., Krob, D. (eds) STACS 98. STACS 1998. Lecture Notes in Computer Science, vol 1373. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0028591

Download citation

  • DOI: https://doi.org/10.1007/BFb0028591

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-64230-5

  • Online ISBN: 978-3-540-69705-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics