Skip to main content

Generalized Sorting with Predictions Revisited

  • Conference paper
  • First Online:
Frontiers of Algorithmics (IJTCS-FAW 2023)

Abstract

This paper presents a novel algorithm for the generalized sorting problem with predictions, which involves determining a total ordering of an underlying directed graph using as few probes as possible. Specifically, we consider the problem of sorting an undirected graph with predicted edge directions. Our proposed algorithm is a Monte Carlo approach that has a polynomial-time complexity, which uses \(O(n\log w+w)\) probes with probability at least \(1-e^{-\varTheta (n)}\), where n is the number of vertices in the graph and w is the number of mispredicted edges. Our approach involves partitioning the vertices of the graph into O(w) disjoint verified directed paths, which can reduce the number of probes required. Lu et al. [11] introduced a bound of \(O(n\log n + w)\) for the number of probes, which was the only known result in this setting. Our bound reduces the factor \(O(\log n)\) to \(O(\log w)\).

This research was partially supported by the Hong Kong RGC grants 17201220, 17202121 and 17203122.

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 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 74.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

References

  1. Alon, N., Blum, M., Fiat, A., Kannan, S., Naor, M., Ostrovsky, R.: Matching nuts and bolts. In: SODA, pp. 690–696. ACM/SIAM (1994)

    Google Scholar 

  2. Banerjee, I., Richards, D.S.: Sorting under forbidden comparisons. In: SWAT. LIPIcs, vol. 53, pp. 22:1–22:13. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2016)

    Google Scholar 

  3. Biswas, A., Jayapaul, V., Raman, V.: Improved bounds for poset sorting in the forbidden-comparison regime. In: Gaur, D., Narayanaswamy, N.S. (eds.) CALDAM 2017. LNCS, vol. 10156, pp. 50–59. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-53007-9_5

    Chapter  Google Scholar 

  4. Blanc, G., Lange, J., Tan, L.: Query strategies for priced information, revisited. In: SODA, pp. 1638–1650. SIAM (2021)

    Google Scholar 

  5. Charikar, M., Fagin, R., Guruswami, V., Kleinberg, J.M., Raghavan, P., Sahai, A.: Query strategies for priced information. J. Comput. Syst. Sci. 64(4), 785–819 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  6. Gupta, A., Kumar, A.: Sorting and selection with structured costs. In: FOCS, pp. 416–425. IEEE Computer Society (2001)

    Google Scholar 

  7. Huang, Z., Kannan, S., Khanna, S.: Algorithms for the generalized sorting problem. In: FOCS, pp. 738–747. IEEE Computer Society (2011)

    Google Scholar 

  8. Kannan, S., Khanna, S.: Selection with monotone comparison cost. In: SODA, pp. 10–17. ACM/SIAM (2003)

    Google Scholar 

  9. Komlós, J., Ma, Y., Szemerédi, E.: Matching nuts and bolts in o(n log n) time. SIAM J. Discret. Math. 11(3), 347–372 (1998)

    Article  MATH  Google Scholar 

  10. Kuszmaul, W., Narayanan, S.: Stochastic and worst-case generalized sorting revisited. In: FOCS, pp. 1056–1067. IEEE (2021)

    Google Scholar 

  11. Lu, P., Ren, X., Sun, E., Zhang, Y.: Generalized sorting with predictions. In: SOSA, pp. 111–117. SIAM (2021)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bo Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chan, TH.H., Sun, E., Wang, B. (2023). Generalized Sorting with Predictions Revisited. In: Li, M., Sun, X., Wu, X. (eds) Frontiers of Algorithmics. IJTCS-FAW 2023. Lecture Notes in Computer Science, vol 13933. Springer, Cham. https://doi.org/10.1007/978-3-031-39344-0_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-39344-0_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-39343-3

  • Online ISBN: 978-3-031-39344-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics