Lune

FOCS2021顶会

Stochastic and Worst-Case Generalized Sorting Revisited

William Kuszmaul, Shyam Narayanan

2021年份
2被引次数
1顶会引用

摘要

The generalized sorting problem is a restricted version of standard comparison sorting where we wish to sortnnelements but only a subset of pairs are allowed to be compared. Formally, there is some known graphG=(V,E)G=(V, E)on thennelementsv1,…,vnv_{1, \ldots, v_{n}}, and the goal is to determine the true order of the elements using as few comparisons as possible, where all comparisons (vi,vjv_{i, v_{j}}) must be edges inEE. We are promised that if the true ordering isx1<x2<⋯<xnx_{1 < x_{2} < \cdots < x_{n}}for{xi}\{x_{i\}}an unknown permutation of the vertices{vi}\{v_{i\}}, then(xi,xi+1)∈E(x_{i, x_{i+1})\in E}for allii: this Hamiltonian path ensures that sorting is actually possible. In this work, we improve the bounds for generalized sorting on both random graphs and worst-case graphs. For Erdős-Renyi random graphsG(n,p)G(n, p)(with the promised Hamiltonian path added to ensure sorting is possible), we provide an algorithm for generalized sorting with an expectedO(n lg(np))O(n\ \text{lg}(np))comparisons, which we prove to be optimal for query complexity. This strongly improves over the best known algorithm of Huang, Kannan, and Khanna (FOCS 2011), which usesO(min⁡(nnp, n/p2))~\tilde{O(\min(n\sqrt{np},\ n/p^{2}))}comparisons. For arbitrary graphsGGwithnnvertices andmmedges (again with the promised Hamiltonian path), we provide an algorithm for generalized sorting withO(mn)~\tilde{O(\sqrt{mn})}comparisons. This improves over the best known algorithm of Huang et al., which usesmin⁡(m,O~(n3/2))\min(m,\tilde{O}(n^{3/2}))comparisons.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

引用它的顶会 Paper1

问问它们各自怎么用它

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖