Sorting Under 1-$\infty$ Cost Model
Indranil Banerjee, Dana Richards

TL;DR
This paper investigates sorting with non-uniform comparison costs, specifically when comparisons are either 1 or infinite, and introduces algorithms that efficiently handle forbidden comparison pairs represented by a graph.
Contribution
It presents the first deterministic and a simple randomized algorithm for sorting under the 1-∞ cost model with forbidden pairs, with complexity bounds depending on the graph structure.
Findings
Deterministic algorithm with $O((q + n)\log n)$ comparisons.
Randomized algorithm with $ ilde{O}(n^2/\sqrt{q + n} + n\sqrt{q})$ probes.
Efficient sorting for random graphs with $ ilde{O}( ext{min}(n^{3/2}, pn^2))$ probes.
Abstract
In this paper we study the problem of sorting under non-uniform comparison costs, where costs are either 1 or . If comparing a pair has an associated cost of then we say that such a pair cannot be compared (forbidden pairs). Along with the set of elements the input to our problem is a graph , whose edges represents the pairs that we can compare incurring an unit of cost. Given a graph with vertices and forbidden edges we propose the first non-trivial deterministic algorithm which makes comparisons with a total complexity of , where is the exponent in the complexity of matrix multiplication. We also propose a simple randomized algorithm for the problem which makes probes with high probability. When the input graph is random we show that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplexity and Algorithms in Graphs · graph theory and CDMA systems · semigroups and automata theory
