自上而下与自底向上的评价程序集成
Top-down and Bottom-up Evaluation Procedurally Integrated
摘要:
本文描述了XSB如何结合自顶向下和自自底向上的【形】的计算,通过不同的制表和包容制表与抽象的机制,分别。众所周知,Prolog中逻辑规则的自顶向下求值具有递归过程调用的过程解释(Kowalski 1986)。Tabling增加了短路冗余计算的直观性(Warren 1992)。本文展示了如何在表逻辑程序评估中引入一个自自底向上的【形】的组件,其过程直观性是数据结构的初始化,其中一个关系在第一次需要时被初始计算和填充,然后在更大计算的剩余部分中用于有效查找。这使得许多Prolog程序可以完全声明地表达,以前需要过程特性(如断言)的程序变得高效。本文正在考虑接受“逻辑程序设计理论与实践(TPLP)”。
英文摘要:
This paper describes how XSB combines top-down and bottom-up computation through the mechanisms of variant tabling and subsumptive tabling with abstraction, respectively. It is well known that top-down evaluation of logical rules in Prolog has a procedural interpretation as recursive procedure invocation (Kowalski 1986). Tabling adds the intuition of short-circuiting redundant computations (Warren 1992) .This paper shows how to introduce into tabled logic program evaluation a bottom-up component, whose procedural intuition is the initialization of a data structure, in which a relation is initially computed and filled, on first demand, and then used throughout the remainder of a larger computation for efficient lookup. This allows many Prolog programs to be expressed fully declaratively, programs which formerly required procedural features, such as assert, to be made efficient. This paper is under consideration for acceptance in "Theory and Practice of Logic Programming (TPLP)".
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。