排序网络的联合规模和深度优化
Joint Size and Depth Optimization of Sorting Networks
摘要:
排序网络是一种不经意的排序算法,具有许多有趣的理论性质和实际应用。相关的经典挑战之一是搜索最优网络的深度(层数)的大小(比较器的数量)。然而,据我们所知,小排序网络的联合尺寸-深度最优性以前还没有得到解决。本文提出了网络的大小深度最优结果$12$通道。我们的研究结果表明,有排序网络的$n\leq9$输入是最佳的大小和深度,但这不是$10$和$12$通道的情况。对于$n=10$输入,我们能够证明具有$7$层的最优深度最优排序网络需要$31$比较器,而具有$29$比较器的最优大小网络需要$8$层。对于$n=11$输入,我们表明,网络与$8$或$9$层需要至少$35$比较器(最知名的上限为最小尺寸)。对于具有$n=12$输入和$8$层的网络,我们需要$40$比较器,而对于$9$层,最知名的大小是$39$。
英文摘要:
Sorting networks are oblivious sorting algorithms with many interesting theoretical properties and practical applications. One of the related classical challenges is the search of optimal networks respect to size (number of comparators) of depth (number of layers). However, up to our knowledge, the joint size-depth optimality of small sorting networks has not been addressed before. This paper presents size-depth optimality results for networks up to $12$ channels. Our results show that there are sorting networks for $n\leq9$ inputs that are optimal in both size and depth, but this is not the case for $10$ and $12$ channels. For $n=10$ inputs, we were able to proof that optimal-depth optimal sorting networks with $7$ layers require $31$ comparators while optimal-size networks with $29$ comparators need $8$ layers. For $n=11$ inputs we show that networks with $8$ or $9$ layers require at least $35$ comparators (the best known upper bound for the minimal size). And for networks with $n=12$ inputs and $8$ layers we need $40$ comparators, while for $9$ layers the best known size is $39$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。