首页> 外文会议> >An automatic partial deduction system for constraint logic programs
【24h】

An automatic partial deduction system for constraint logic programs

机译:约束逻辑程序的自动部分推导系统

获取原文

摘要

Presents a new procedure of partial deduction of various constraint logic programs. The procedure takes a program-goal pair (P/sub 0/, Q/sub 0/) as input and outputs a resultant program-goal pair (P/sub n/, Q/sub n/). The procedure always terminates and the computational equivalence of the program-goal pairs (P/sub 0/, Q/sub 0/) and (P/sub n/, Q/sub n/) is preserved. P/sub n/ is more efficient in solving Q/sub n/ than P/sub 0/ in solving Q/sub 0/. Our procedure is based on the idea of program transformation, using transformation rules such as unfolding, constraint simplification, code deletion with respect to a goal, introduction of a newly defined clause, and folding. We have implemented the procedure in an integrated partial deduction system, which can work with Prolog, CLP(Bool), and CLP(R) programs. Our results are compared with those resulting from other partial deduction methods, and it is shown that our method generates more succinct and efficient resultant programs in general.
机译:提出了部分推导各种约束逻辑程序的新过程。该过程将一个节目目标对(P / sub 0 /,Q / sub 0 /)作为输入,并输出一个结果节目目标对(P / sub n /,Q / sub n /)。该过程总是终止,并且程序目标对(P / sub 0 /,Q / sub 0 /)和(P / sub n /,Q / sub n /)的计算等价关系得以保留。 P / sub n /求解Q / sub n /的效率比P / sub 0 /求解Q / sub 0 /的效率更高。我们的过程基于程序转换的思想,使用诸如展开,约束简化,针对目标的代码删除,引入新定义的子句以及折叠之类的转换规则。我们已在集成的部分扣除系统中实施了该程序,该系统可与Prolog,CLP(Bool)和CLP(R)程序一起使用。将我们的结果与其他部分推导方法得出的结果进行比较,结果表明,我们的方法通常会生成更简洁有效的结果程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号