首页 | 本学科首页   官方微博 | 高级检索  
     

背包问题无存储冲突的并行三表算法
引用本文:李肯立,李仁发,李庆华.背包问题无存储冲突的并行三表算法[J].计算机学报,2006,29(2):345-352.
作者姓名:李肯立  李仁发  李庆华
作者单位:1. 湖南大学计算机与通信学院,长沙,410082;美国伊利诺伊大学计算机科学系,香槟,61801
2. 湖南大学计算机与通信学院,长沙,410082
3. 华中科技大学计算机学院国家高性能计算中心,武汉,430074
基金项目:中国科学院资助项目;国家科技攻关项目;教育部科学技术研究项目
摘    要:背包问题属于经典的NP难问题,在信息密码学和数论等研究中具有极重要的应用,将求解背包问题著名的二表算法的设计思想应用于三表搜索中,利用分治策略和无存储冲突的最优归并算法,提出一种基于EREW-SIMD共享存储模型的并行三表算法,算法使用O(2^n/4)个处理机单元和O(2^3n/8)的共享存储空间,在O(2^3n/8)时间内求解n维背包问题.将提出的算法与已有文献结论进行的对比分析表明:文中算法明显改进了现有文献的研究结果,是一种可在小于O(2^n/2)的硬件资源上,以小于O(2n/2)的计算时问求解背包问题的无存储冲突并行算法。

关 键 词:背包问题  NP难问题  并行算法  存储冲突  硬件-时间折衷
收稿时间:2005-02-22
修稿时间:2005-02-222005-07-31

A Parallel Three-List Algorithm for the Knapsack Problem without Memory Conflicts
LI Ken-Li,LI Ren-Fa,LI Qing-Hua.A Parallel Three-List Algorithm for the Knapsack Problem without Memory Conflicts[J].Chinese Journal of Computers,2006,29(2):345-352.
Authors:LI Ken-Li  LI Ren-Fa  LI Qing-Hua
Affiliation:1.School of Computer and Communication. Hunan University, Changsha 410082;2.Department of Computer Science, University of Illinois at Urhana-Champaign, Champaign 61801;3.National High Performance Computing Center (Wuhan
Abstract:The knapsack problem is a famous NP-Hard problem, the solution for which usually requires not only exponential time, but also exponential space. It is for this cause that it is very important in cryptosystem and number theory. Based on the two-list algorithm and the parallel three-list algorithm, this paper proposes a new parallel three-list algorithm for the solution of knapsack problem. To avoid the possible memory conflicts, the method of divide and conquer, and parallel merging without memory conflicts are adopted in the new algorithm. The proposed algorithm needs O(2~ 3n/8 ) time when O(2~ 3n/8 ) shared memory units and O(2~ n/4 ) processors are available for the objectivity to find a solution for a n-element knapsack instance. The comparison of the proposed algorithm with the past researches show that it is the first EREW parallel algorithm that can solve the knapsack instances in less than O(2~ n/2 ) time when available hardware resource is also less than O(2~ n/2 ), and thus it is an improved result over the past researches, and may have some impact on the researches on the knapsack based public-key cryptosystem.
Keywords:knapsack problem  NP hard problem  parallel algorithm  memory conflicts  hardware-time tradeoff
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号