首页 | 官方网站   微博 | 高级检索  
     

Knapsacks约束的弧相容改进算法
引用本文:黄蔚,付兴宇,李占山.Knapsacks约束的弧相容改进算法[J].吉林大学学报(理学版),2017,55(1):95-102.
作者姓名:黄蔚  付兴宇  李占山
作者单位:1. 吉林大学 计算机科学与技术学院, 长春 130012; 2. 吉林大学 软件学院, 长春 130012
摘    要:通过修改背包约束弧相容算法的数据结构,将点阵图改为有向图,解决了原背包约束弧相容算法中存在冗余计算和无效操作的问题,加快了算法对问题的求解效率.对比实验结果表明:在面对同一类问题时,因为数据结构更复杂,改进算法的初始化时间虽增加,但求解时间提高了20%~50%;在面对求解难度较高的问题时,改进算法能更好地缩减求解问题的时间.

关 键 词:弧相容  Knapsacks约束  约束满足问题  
收稿时间:2016-06-24

Improved Arc Consistency Algorithm for Knapsacks Constraints
HUANG Wei,FU Xingyu,LI Zhanshan.Improved Arc Consistency Algorithm for Knapsacks Constraints[J].Journal of Jilin University: Sci Ed,2017,55(1):95-102.
Authors:HUANG Wei  FU Xingyu  LI Zhanshan
Affiliation:1. College of Computer Science and Technology, Jilin University, Changchun 130012, China;2. College of Software, Jilin University, Changchun 130012, China
Abstract:By modifying the data structure of arc consistency algorithm of Knapsacks constraints, we transformed the bitmap to a directed graph, which solved the problem of redundant computation and invalid operation in the arc consistency algorithm of the original knapsack constraint, and accelerated the algorithm to solve the problem of efficiency. Comparative experimental results showthat in the face of the same kind of problem, the initialization time of the improved algorithm is increased because the data structure is more complex, but the solution time is improved by 20%—50%. The improved algorithm can reduce the time of solving the problem in the face of the high difficulty of solving the problem.
Keywords:constraint satisfaction problem  arc consistency  Knapsacks constraint
本文献已被 CNKI 等数据库收录!
点击此处可从《吉林大学学报(理学版)》浏览原始摘要信息
点击此处可从《吉林大学学报(理学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号