SORTING AND SELECTION IN POSETS

被引:22
|
作者
Daskalakis, Constantinos [1 ,2 ]
Karp, Richard M. [3 ,4 ]
Mossel, Elchanan [5 ,6 ]
Riesenfeld, Samantha J. [7 ]
Verbin, Elad [8 ,9 ]
机构
[1] MIT, EECS, Cambridge, MA 02139 USA
[2] MIT, CSAIL, Cambridge, MA 02139 USA
[3] Univ Calif Berkeley, Dept Comp Sci, Berkeley, CA 94720 USA
[4] Int Comp Sci Inst, Berkeley, CA 94704 USA
[5] Univ Calif Berkeley, Dept Comp Sci & Stat, Berkeley, CA 94720 USA
[6] Weizmann Inst Sci, Dept Math & Comp Sci, IL-76100 Rehovot, Israel
[7] Univ Calif San Francisco, J David Gladstone Inst, San Francisco, CA 94158 USA
[8] Tsinghua Univ, Inst Theoret Comp Sci, Beijing 10084, Peoples R China
[9] Tel Aviv Univ, Tel Aviv, Israel
基金
中国国家自然科学基金; 美国国家科学基金会;
关键词
chain decomposition; partially ordered sets; query complexity; selection; sorting; transitive relations; PAIRS;
D O I
10.1137/070697720
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Classical problems of sorting and searching assume an underlying linear ordering of the objects being compared. In this paper, we study these problems in the context of partially ordered sets, in which some pairs of objects are incomparable. This generalization is interesting from a combinatorial perspective, and it has immediate applications in ranking scenarios where there is no underlying linear ordering, e. g., conference submissions. It also has applications in reconstructing certain types of networks, including biological networks. Our results represent significant progress over previous results from two decades ago by Faigle and Turan. In particular, we present the first algorithm that sorts a width-w poset of size n with query complexity O(n(w + logn)) and prove that this query complexity is asymptotically optimal. We also describe a variant of Mergesort with query complexity O(wn log n/w) and total complexity O(w(2)n log n/w); an algorithm with the same query complexity was given by Faigle and Turan, but no efficient implementation of that algorithm is known. Both our sorting algorithms can be applied with negligible overhead to the more general problem of reconstructing transitive relations. We also consider two related problems: finding the minimal elements, and its generalization to finding the bottom k "levels," called the k-selection problem. We give efficient deterministic and randomized algorithms for finding the minimal elements with query complexity and total complexity O(wn). We provide matching lower bounds for the query complexity up to a factor of 2 and generalize the results to the k-selection problem. Finally, we present efficient algorithms for computing a linear extension of a poset and computing the heights of all elements.
引用
收藏
页码:597 / 622
页数:26
相关论文
共 50 条
  • [1] Sorting and Selection in Posets
    Daskalakis, Constantinos
    Karp, Richard M.
    Mossel, Elchanan
    Riesenfeld, Samantha
    Verbin, Elad
    PROCEEDINGS OF THE TWENTIETH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2009, : 392 - 401
  • [2] Sorting probability of Catalan posets
    Chan, Swee Hong
    Pak, Igor
    Panova, Greta
    ADVANCES IN APPLIED MATHEMATICS, 2021, 129
  • [3] THE HIERARCHICAL EXPANSION OF SORTING AND SELECTION - SORTING AND SELECTION CANNOT BE EQUATED
    VRBA, ES
    GOULD, SJ
    PALEOBIOLOGY, 1986, 12 (02) : 217 - 228
  • [4] Sorting and Selection with Imprecise Comparisons
    Ajtai, Miklos
    Feldman, Vitaly
    Hassidim, Avinatan
    Nelson, Jelani
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT I, 2009, 5555 : 37 - +
  • [5] SELECTION AND SORTING WITH LIMITED STORAGE
    MUNRO, JI
    PATERSON, MS
    THEORETICAL COMPUTER SCIENCE, 1980, 12 (03) : 315 - 323
  • [6] Sorting and selection on dynamic data
    Anagnostopoulos, Aris
    Kumar, Ravi
    Mahdian, Mohammad
    Upfal, Eli
    THEORETICAL COMPUTER SCIENCE, 2011, 412 (24) : 2564 - 2576
  • [7] Introspective sorting and selection algorithms
    Musser, DR
    SOFTWARE-PRACTICE & EXPERIENCE, 1997, 27 (08): : 983 - 993
  • [8] Introspective sorting and selection algorithms
    Musser, David R.
    Software - Practice and Experience, 1997, 27 (08): : 983 - 993
  • [9] Sorting and selection with structured costs
    Gupta, A
    Kumar, A
    42ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2001, : 416 - 425
  • [10] Introspective sorting and selection revisited
    Valois, JD
    SOFTWARE-PRACTICE & EXPERIENCE, 2000, 30 (06): : 617 - 638