首页> 外文会议>International Conference on Theory and Applications of Models of Computation >A Comparative Study of Efficient Algorithms for Partitioning a Sequence into Monotone Subsequences
【24h】

A Comparative Study of Efficient Algorithms for Partitioning a Sequence into Monotone Subsequences

机译:将序列分配成单调子序列的高效算法的比较研究

获取原文

摘要

Tradeoffs between time complexities and solution optimalities are important when selecting algorithms for an NP-hard problem in different applications. Also, the distinction between theoretical upper bound and actual solution optimality for realistic instances of an NP-hard problem is a factor in selecting algorithms in practice. We consider the problem of partitioning a sequence of n distinct numbers into minimum number of monotone (increasing or decreasing) subsequences. This problem is NP-hard and the number of monotone subsequences can reach 「(2n + 1/2)~2(1/2) - 1/2」the worst case. We introduce a new algorithm, the modified version of the Yehuda-Fogel algorithm, that computes a solution of no more than「(2n + 1/2)~2(1/2) - 1/2」monotone subsequences in O(n1.5) time. Then we perform a comparative experimental study on three algorithms, a known approximation algorithm of approximation ratio 1.71 and time complexity O(n3), a known greedy algorithm of time complexity O(n1.5logn), and our new modified Yehuda-Fogel algorithm. Our results show that the solutions computed by the greedy algorithm and the modified Yehuda-Fogel algorithm are close to that computed by the approximation algorithm even though the theoretical worst-case error bounds of these two algorithms are not proved to be within a constant times of the optimal solution. Our study indicates that for practical use the greedy algorithm and the modified Yehuda-Fogel algorithm can be good choices if the running time is a major concern.
机译:在不同应用的NP-hard问题选择算法时的时间复杂性和溶液最优性质之间的折衷是重要的。另外,理论上限和实际溶液最优用于NP-hard问题的现实实例之间的区别是在实践中选择的算法的一个因素。我们认为划分n个不同的数字序列为单调的最小数量的问题(增加或减少)序列。此问题是NP-hard的和单调的子序列的数量可以达到「(2N + 1/2)〜2(1/2) - 1/2」的最坏情况。我们引入一个新的算法中,胡达-福格尔算法的修改版本,其计算不超过「(2N + 1/2)〜2(1/2) - 1/2」的溶液单调子序列在O(N1 .5)时间。然后,我们对三种算法,的近似比1.71和时间复杂度为O(N 3),时间复杂性为O(n1.5logn)已知的贪婪算法,我们新的改性胡达-福格尔算法的已知近似算法进行比较实验研究。我们的研究结果表明,采用贪心算法和改进的耶胡达 - 福格尔算法计算的解决方案是接近的,即使这两种算法的理论最坏情况下的误差范围不被证明是一个恒定的时间内近似算法计算最佳的解决方案。我们的研究表明,对于实际使用贪心算法和改进的耶胡达 - 福格尔算法可以很好的选择,如果运行时间是一个大问题。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号