arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.05771cs.PLcs.LO
收藏

表格式CLP通用设计的描述、实现和评估

Description, Implementation, and Evaluation of a Generic Design for Tabled CLP

Joaquín Arias, Manuel Carro

摘要:

具有制表和约束的逻辑编程(TCLP,表格约束逻辑编程)已被证明比LP,CLP或LP +制表更具表达力,在某些情况下更有效。以前的设计TCLP系统没有充分利用蕴涵,以确定呼叫/应答包容,并没有提供一个简单的和良好的记录接口,以促进现有的制表系统中的约束求解器的集成。我们研究的作用,投影和蕴涵在终止,健全和完整的TCLP系统,并提出了设计和实验评估的Mod TCLP,一个框架,简化了额外的约束求解器的集成。Mod TCLP将约束求解器视为制表系统的客户端,这是通用的w.r.t.解决方案,只需要一个明确的接口,从后者。我们通过整合四个约束求解器来验证我们的设计:以前存在的用于差分约束的约束求解器,用C编写; Holzbaur的CLP(Q)和CLP(R)的标准版本,用Prolog编写;以及有限格上的方程的新约束求解器。我们使用上述约束求解器在几个基准测试中评估我们的框架的性能。Mod TCLP是在Ciao Prolog中开发的,Ciao Prolog是一个健壮、成熟的下一代Prolog系统。逻辑程序设计理论与实践(TPLP)

英文摘要:

Logic programming with tabling and constraints (TCLP, tabled constraint logic programming) has been shown to be more expressive and in some cases more efficient than LP, CLP or LP + tabling. Previous designs of TCLP systems did not fully use entailment to determine call / answer subsumption and did not provide a simple and well-documented interface to facilitate the integration of constraint solvers in existing tabling systems. We study the role of projection and entailment in the termination, soundness and completeness of TCLP systems, and present the design and an experimental evaluation of Mod TCLP, a framework that eases the integration of additional constraint solvers. Mod TCLP views constraint solvers as clients of the tabling system, which is generic w.r.t. the solver and only requires a clear interface from the latter. We validate our design by integrating four constraint solvers: a previously existing constraint solver for difference constraints, written in C; the standard versions of Holzbaur's CLP(Q) and CLP(R), written in Prolog; and a new constraint solver for equations over finite lattices. We evaluate the performance of our framework in several benchmarks using the aforementioned constraint solvers. Mod TCLP is developed in Ciao Prolog, a robust, mature, next-generation Prolog system. Under consideration in Theory and Practice of Logic Programming (TPLP).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑