...
首页> 外文期刊>Information Processing Letters >An approximation algorithm for the cutting-sticks problem
【24h】

An approximation algorithm for the cutting-sticks problem

机译:割刀问题的一种近似算法

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

The cuttings-sticks problem is the following. We are given a bundle of sticks all having integer lengths. The total sum of their lengths is n(n + 1)/2. Can we break the sticks so that the resulting sticks have lengths 1,2,...,n? The problem is known to be NP-hard. We consider an optimization version of the problem which involves cutting the sticks and placing them into boxes. The problem has a trivial polynomial time algorithm with an approximation ratio of 2. We present a greedy algorithm that achieves an approximation ratio of 2~(1/2).
机译:切屑问题如下。我们得到了一捆都具有整数长度的棍子。它们的长度的总和为n(n + 1)/ 2。我们可以折断木棍,使所得木棍的长度为1,2,...,n吗?已知该问题是NP难题。我们考虑了该问题的优化版本,该问题涉及切割木棍并将其放入盒子中。该问题具有一个近似比率为2的平凡多项式时间算法。我们提出一种贪婪算法,该算法可实现2〜(1/2)的近似比率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号