• DocumentCode
    2183518
  • Title

    Average case lower bounds on the construction and searching of partial orders

  • Author

    Mairson, Harry G.

  • fYear
    1985
  • fDate
    21-23 Oct. 1985
  • Firstpage
    303
  • Lastpage
    311
  • Abstract
    It is very well known in computer science that partially ordered files are easier to search. In the worst case, for example, a totally unordered file requires no preprocessing, but ¿(n) time to search, while a totally ordered file requires ¿(n log n) preprocessing time to sort, but can be searched in O(log n) time. Behind the casual observation, then, lurks the notion of a computational tradeoff between sorting and searching. We analyze this tradeoff in the average case, using the decision tree model. Let P be a preprocessing algorithm that produces partial orders given a set U of n elements, and let S be a searching algorithm for these partial orders. Assuming any of the n! permutations of the elements of U are equally likely, and that we search for any y isin; U with equal probability (in unsuccessful search, all "gaps" are considered equally likely), the average costs P(n) of preprocessing and S(n) of searching may be computed. We demonstrate a tradeoff of the form P(n) + n log S(n) = ¿(n log n), for both successful and unsuccessful search. The bound is tight up to a constant factor. In proving this tradeoff, we show a lower bound on the average case of searching a partial order. Let A be a partial order on n elements consistent with Π permutations. We show S(n) = ¿(Π3/n/n2) for successful search of A, and S(n) = ¿(Π2/n/n) for unsuccessful search. These lower bounds show, for example, that heaps require linear time to search on the average.
  • Keywords
    Application software; Binary trees; Computer science; Costs; Data structures; Decision trees; Information analysis; Merging; Particle measurements; Sorting;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Foundations of Computer Science, 1985., 26th Annual Symposium on
  • Conference_Location
    Portland, OR, USA
  • ISSN
    0272-5428
  • Print_ISBN
    0-8186-0644-4
  • Type

    conf

  • DOI
    10.1109/SFCS.1985.13
  • Filename
    4568155