Skip to main content

An Optimal Trie Construction Algorithm for Partial — Match Queries

  • Chapter
Foundations of Data Organization
  • 146 Accesses

Abstract

This paper presents design algorithms of a trie file to answer partial-match queries. The author assumes in this paper that each field of a record is mapped into several bits which construct a bucket address into which the record is stored.

At each level of a trie, at most 2d-way branching is possible according to predetermined d bits. The problem is the allocation and the selection of the d bits at each level.

Major results are as follows;

  1. 1)

    When data is uniform, an optimal trie is obtained.

  2. 2)

    When queries are uniform and data is not uniform, three factors which affect the efficiency are found. A new unbalance measure is defined and a brief description of a trie construction algorithm is presented.

  3. 3)

    When neither queries nor data is uniform, a heuristic algorithm which is based on four observations is given.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aho, A.V. and Corasick, M.J., “Efficient string matching :An aid to bibliographic search”, CACM, 18, 6, 333–340, June 1975.

    MathSciNet  MATH  Google Scholar 

  2. Nakatsu, N., “Studies on string manipulation problems and their applications”, Ph.D. thesis, Kyoto Univ., 1983.

    Google Scholar 

  3. Rivest, L.R., “Partial-match retrieval algorithms”, SIAM J. of Comput., 5, 1, 19–50, March 1976.

    Article  MathSciNet  MATH  Google Scholar 

  4. Burkhard, W.A., “Partial match retrieval”, BIT, 16, 13–31, 1976.

    Article  MathSciNet  MATH  Google Scholar 

  5. Burkhard, W.A., “Hashing and trie algorithms for partial match retrieval”, ACM TODS 1, 2, 175–187, June 1976.

    Article  Google Scholar 

  6. Burkhard, W.A., “Non-uniform partial-match file designs”, Theoretical Computer Science, 5, 1–23, 1977.

    Article  MathSciNet  Google Scholar 

  7. Alager, V.S. and Soochan, C., “Partial match retrieval for non-uniform query distributions”, Proc. of NCC, 775–780, 1979.

    Google Scholar 

  8. Aho, A.V. and Ullman, J.D., “Optimal partial-match retrieval when fields are independently specified”, ACM TODS, 4, 2, 168–179, June 1979.

    Article  MathSciNet  Google Scholar 

  9. Knuth,D.E., “The art of computer programming”, 3, sorting and searching, Addison-Wesley, 1973.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1987 Plenum Press, New York

About this chapter

Cite this chapter

Nakatsu, N. (1987). An Optimal Trie Construction Algorithm for Partial — Match Queries. In: Ghosh, S.P., Kambayashi, Y., Tanaka, K. (eds) Foundations of Data Organization. Springer, Boston, MA. https://doi.org/10.1007/978-1-4613-1881-1_32

Download citation

  • DOI: https://doi.org/10.1007/978-1-4613-1881-1_32

  • Publisher Name: Springer, Boston, MA

  • Print ISBN: 978-1-4612-9048-3

  • Online ISBN: 978-1-4613-1881-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics