引用本文:赖永,刘大有.一种有效的分层加权库编译方法.软件学报,2012,23(10):2550-2563
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4007次   下载 6016 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一种有效的分层加权库编译方法
赖永1,2, 刘大有1,2
1.吉林大学计算机科学与技术学院, 吉林长春 130012;2.符号计算与知识工程教育部重点实验室(吉林大学), 吉林长春 130012
摘要:
提议对加权库进行分层,一方面符合人类的思维习惯,另一方面能够提高推理效率.首先说明现有的针对非分层加权库的编译方法也适用于编译分层加权库,但是,由于存在较多冗余信息而效率不高.提出一种新的编译方法,能够在编译过程中去除冗余信息,并提出两种优化技术提高时间效率.该方法与现有方法相同,当软约束权值改变时无需重新编译.选择 ROBDD 为目标语言,使用随机问题对该方法进行测试.结果表明:对于非分层加权库,该方法的空间效率高于已存在方法;对于分层加权库,该方法的时间和空间效率均高于已存在方法,且当层数越多时,该方法的效率越高.
关键词:  偏好  惩罚逻辑  分层加权库  知识编译
DOI:10.3724/SP.J.1001.2012.04194
分类号:
基金项目:国家自然科学基金(61133011, 61170092, 60973088, 60873149); 吉林大学研究生创新基金(20111060)
Efficient Compilation Approach on Stratified Weighted Bases
LAI Yong1,2, LIU Da-You1,2
1.College of Computer Science and Technology, Jilin University, Changchun 130012, China;2.Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education (Jilin University), Changchun 130012,China
Abstract:
To be in accordance with the thinking habits of human and improve the efficiency of reasoning, thisstudy argues to stratify weighted bases. The study shows that the existing compilation approach to non-stratifiedweighted bases can also be applied to COMPILE stratified weighted bases; however, its time and space costs arerelatively high because of redundant information in the compilation results. The paper proposes a novel compilationapproach, which can remove the redundant information in the process of compilation, and presents two optimizationtechniques to further improve the time efficiency. As with the existing approach, re-compiling a stratified weightedbase is not required whenever the weights associated with soft constraints change with time. The approach is testedby compiling random instances into ROBDD-normal bases, and the preliminary experimental results show that thetime and space costs of this approach are lower than the existing approach for most instances.
Key words:  preference  penalty logic  stratified weighted base  knowledge compilation