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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Alon, N., Blum, M., Fiat, A., Kannan, S., Naor, M., Ostrovsky, R.: Matching nuts and bolts. In: SODA, pp. 690–696. ACM/SIAM (1994)
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)
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
Blanc, G., Lange, J., Tan, L.: Query strategies for priced information, revisited. In: SODA, pp. 1638–1650. SIAM (2021)
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)
Gupta, A., Kumar, A.: Sorting and selection with structured costs. In: FOCS, pp. 416–425. IEEE Computer Society (2001)
Huang, Z., Kannan, S., Khanna, S.: Algorithms for the generalized sorting problem. In: FOCS, pp. 738–747. IEEE Computer Society (2011)
Kannan, S., Khanna, S.: Selection with monotone comparison cost. In: SODA, pp. 10–17. ACM/SIAM (2003)
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)
Kuszmaul, W., Narayanan, S.: Stochastic and worst-case generalized sorting revisited. In: FOCS, pp. 1056–1067. IEEE (2021)
Lu, P., Ren, X., Sun, E., Zhang, Y.: Generalized sorting with predictions. In: SOSA, pp. 111–117. SIAM (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 Springer Nature Switzerland AG
About this paper
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)