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

最优排序网络

Optimal Sorting Networks

Daniel Bundala, Jakub Závodný

摘要:

本文解决了40多年前在《计算机程序设计艺术》第三卷中给出的排序网络的最优性问题。这本书列出了n <= 16个输入的高效排序网络。在本文中,我们给出了一般的组合参数表明,如果一个排序网络与一个给定的深度存在,那么存在一个特殊的形式。然后,我们构造命题公式,其满足性是必要的存在这样的网络。使用SAT求解器,我们得出结论,列出的网络具有最佳深度。对于n <= 10的输入,其中最优性是已知的,我们的算法是四个数量级的速度比以前的工作。

英文摘要:

This paper settles the optimality of sorting networks given in The Art of Computer Programming vol. 3 more than 40 years ago. The book lists efficient sorting networks with n <= 16 inputs. In this paper we give general combinatorial arguments showing that if a sorting network with a given depth exists then there exists one with a special form. We then construct propositional formulas whose satisfiability is necessary for the existence of such a network. Using a SAT solver we conclude that the listed networks have optimal depth. For n <= 10 inputs where optimality was known previously, our algorithm is four orders of magnitude faster than those in prior work.

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

↑