Papers
Topics
Authors
Recent
Search
2000 character limit reached

Tight Bounds for Sorting Under Partial Information

Published 12 Apr 2024 in cs.DS | (2404.08468v3)

Abstract: Sorting has a natural generalization where the input consists of: (1) a ground set XX of size nn, (2) a partial oracle OPO_P specifying some fixed partial order PP on XX and (3) a linear oracle OLO_L specifying a linear order LL that extends PP. The goal is to recover the linear order LL on XX using the fewest number of linear oracle queries. In this problem, we measure algorithmic complexity through three metrics: oracle queries to OLO_L, oracle queries to OPO_P, and the time spent. Any algorithm requires worst-case log2e(P)\log_2 e(P) linear oracle queries to recover the linear order on XX. Kahn and Saks presented the first algorithm that uses Θ(loge(P))\Theta(\log e(P)) linear oracle queries (using O(n<sup>2)O(n<sup>2) partial oracle queries and exponential time). The state-of-the-art for the general problem is by Cardinal, Fiorini, Joret, Jungers and Munro who at STOC'10 manage to separate the linear and partial oracle queries into a preprocessing and query phase. They can preprocess PP using O(n<sup>2)O(n<sup>2) partial oracle queries and O(n<sup>2.5)O(n<sup>{2.5}) time. Then, given OLO_L, they uncover the linear order on XX in Θ(loge(P))\Theta(\log e(P)) linear oracle queries and O(n+loge(P))O(n + \log e(P)) time -- which is worst-case optimal in the number of linear oracle queries but not in the time spent. For c1c \geq 1, our algorithm can preprocess OPO_P using O(n<sup>1</sup>+1c)O(n<sup>{1</sup> + \frac{1}{c}}) queries and time. Given OLO_L, we uncover LL using Θ(cloge(P))\Theta(c \log e(P)) queries and time. We show a matching lower bound, as there exist positive constants (α,β)(\alpha, \beta) where for any constant c1c \geq 1, any algorithm that uses at most αn<sup>1</sup>+1c\alpha \cdot n<sup>{1</sup> + \frac{1}{c}} preprocessing must use worst-case at least βcloge(P)\beta \cdot c \log e(P) linear oracle queries. Thus, we solve the problem of sorting under partial information through an algorithm that is asymptotically tight across all three metrics.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (12)
  1. Counting linear extensions. Order, 8(3):225–242, September 1991.
  2. Optimal finger search trees in the pointer machine. In Proceedings of the thiry-fourth annual ACM symposium on Theory of computing, STOC ’02, pages 583–591, New York, NY, USA, May 2002. Association for Computing Machinery.
  3. An Efficient Algorithm for Partial Order Production. SIAM Journal on Computing, 39(7):2927–2940, January 2010. Publisher: Society for Industrial and Applied Mathematics.
  4. Sorting under partial information (without the ellipsoid algorithm). In Proceedings of the forty-second ACM symposium on Theory of computing, STOC ’10, pages 359–368, New York, NY, USA, June 2010. Association for Computing Machinery.
  5. Sorting and selection in posets. In Proceedings of the twentieth annual ACM-SIAM symposium on Discrete algorithms, SODA ’09, pages 392–401, USA, January 2009. Society for Industrial and Applied Mathematics.
  6. Michael L. Fredman. How good is the information theory bound in sorting? Theoretical Computer Science, 1(4):355–361, April 1976.
  7. Entropy and sorting. In Proceedings of the twenty-fourth annual ACM symposium on Theory of Computing, STOC ’92, pages 178–187, New York, NY, USA, July 1992. Association for Computing Machinery.
  8. Balancing poset extensions. Order, 1(2):113–126, June 1984.
  9. János Körner. Coding of an information source having ambiguous alphabet and the entropy of graphs. In 6th Prague conference on information theory, pages 411–425, 1973.
  10. Efficient algorithms for sorting in trees. arXiv preprint arXiv:2205.15912, 2022.
  11. Robert E. Tarjan and Christopher J. Van Wyk. O(n log log n)-time algorithm for triangulating a simple polygon. SIAM Journal on Computing, 17(1):143–178, 1988. Publisher: Society for Industrial and Applied Mathematics Publications.
  12. Preprocessing Ambiguous Imprecise Points. In Gill Barequet and Yusu Wang, editors, 35th International Symposium on Computational Geometry (SoCG 2019), volume 129 of Leibniz International Proceedings in Informatics (LIPIcs), pages 42:1–42:16, Dagstuhl, Germany, 2019. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
Citations (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.