arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1508.03698cs.DS
收藏

1- $\infty$成本模型下的排序

Sorting Under 1-$\infty$ Cost Model

Indranil Banerjee, Dana Richards

摘要:

本文研究了非一致比较代价下的排序问题,其中代价为1或$\infty$。如果比较一个对的相关成本为$\infty$,那么我们说这样的对不能被比较(禁止对)。除了元素集合$V$之外,我们的问题的输入是一个图$G(V, E)$,它的边表示我们可以比较的产生单位成本的对。给定一个图的$n$顶点和$q$禁止边,我们提出了第一个非平凡的确定性算法,使$O((q + n)\log{n})$比较与总复杂度的$O(n^2 + q^{ω/2})$,其中$ω$是指数的矩阵乘法的复杂度。我们还提出了一个简单的随机化算法的问题,使$\widetilde{O}(n^2/\sqrt{q + n} + n\sqrt{q})$探针的概率很高。当输入图是随机的,我们表明,$\widetilde{O}(\min{(n^{3/2}, pn^2)})$探针就足够了,其中$p$是边缘概率。

英文摘要:

In this paper we study the problem of sorting under non-uniform comparison costs, where costs are either 1 or $\infty$. If comparing a pair has an associated cost of $\infty$ then we say that such a pair cannot be compared (forbidden pairs). Along with the set of elements $V$ the input to our problem is a graph $G(V, E)$, whose edges represents the pairs that we can compare incurring an unit of cost. Given a graph with $n$ vertices and $q$ forbidden edges we propose the first non-trivial deterministic algorithm which makes $O((q + n)\log{n})$ comparisons with a total complexity of $O(n^2 + q^{ω/2})$, where $ω$ is the exponent in the complexity of matrix multiplication. We also propose a simple randomized algorithm for the problem which makes $\widetilde{O}(n^2/\sqrt{q + n} + n\sqrt{q})$ probes with high probability. When the input graph is random we show that $\widetilde{O}(\min{(n^{3/2}, pn^2)})$ probes suffice, where $p$ is the edge probability.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑