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 probes suffice, where is the edge probability.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.