首页> 中文期刊> 《软件学报》 >一种有效的分层加权库编译方法

一种有效的分层加权库编译方法

         

摘要

提议对加权库进行分层,一方面符合人类的思维习惯,另一方面能够提高推理效率.首先说明现有的针对非分层加权库的编译方法也适用于编译分层加权库,但是,由于存在较多冗余信息而效率不高.提出一种新的编译方法,能够在编译过程中去除冗余信息,并提出两种优化技术提高时间效率.该方法与现有方法相同,当软约束权值改变时无需重新编译.选择ROBDD为目标语言,使用随机问题对该方法进行测试.结果表明:对于非分层加权库,该方法的空间效率高于已存在方法 ;对于分层加权库,该方法的时间和空间效率均高于已存在方法,且当层数越多时,该方法的效率越高.%To be in accordance with the thinking habits of human and improve the efficiency of reasoning, this study argues to stratify weighted bases. The study shows that the existing compilation approach to non-stratified weighted bases can also be applied to COMPILE stratified weighted bases; however, its time and space costs are relatively high because of redundant information in the compilation results. The paper proposes a novel compilation approach, which can remove the redundant information in the process of compilation, and presents two optimization techniques to further improve the time efficiency. As with the existing approach, re-compiling a stratified weighted base is not required whenever the weights associated with soft constraints change with time. The approach is tested by compiling random instances into ROBDD-normal bases, and the preliminary experimental results show that the time and space costs of this approach are lower than the existing approach for most instances.

著录项

  • 来源
    《软件学报》 |2012年第10期|2550-2563|共14页
  • 作者

    赖永; 刘大有;

  • 作者单位

    吉林大学计算机科学与技术学院;

    吉林长春 130012;

    符号计算与知识工程教育部重点实验室(吉林大学);

    吉林长春 130012;

    吉林大学计算机科学与技术学院;

    吉林长春 130012;

    符号计算与知识工程教育部重点实验室(吉林大学);

    吉林长春 130012;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 自动推理、机器学习;
  • 关键词

    偏好; 惩罚逻辑; 分层加权库; 知识编译;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号