Dynamic reordering of alternatives for definite logic programs

被引:2
|
作者
Guo, Hai-Feng [1 ]
Gupta, Gopal [2 ]
机构
[1] Univ Nebraska, Dept Comp Sci, Omaha, NE 68182 USA
[2] Univ Texas Dallas, Dept Comp Sci, Richardson, TX 75083 USA
关键词
Logic programming; Tabled resolution; SLD resolution; Fixed point; DRA resolution; WELL-FOUNDED SEMANTICS; TABULATED RESOLUTION;
D O I
10.1016/j.cl.2008.04.002
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Due to their highly declarative nature and efficiency, tabled logic programming systems have been applied to solving many complex problems. Tabled logic programming is essential for extending traditional logic programming with tabled resolution. In this paper, we propose a new tabled resolution scheme, called dynamic reordering of alternatives (DRA) resolution, for definite logic programs. The scheme keeps track of the type of the subgoals during resolution; if the subgoal in the current resolvent is a variant of a former tabled subgoal, tabled answers are used to resolve the subgoal; otherwise, program clauses are used similar to SLD resolution. Program clauses leading to variant subgoals at runtime are dynamically reordered for further computation until the subgoals are completely evaluated. DRA resolution allows query evaluation to be performed in a depth-first, left-to-right traversal order similar to Prolog-typed SLD resolution, thus yielding a simple technique for incorporating tabled resolution in traditional logic programming systems. We show the correctness of DRA resolution. (C) 2008 Elsevier Ltd. All rights reserved.
引用
收藏
页码:252 / 265
页数:14
相关论文
共 50 条
  • [41] The well supported semantics for multidimensional dynamic logic programs
    Banti, F
    Alferes, JJ
    Brogi, A
    Hitzler, P
    LOGIC PROGRAMMING AND NONMONOTONIC REASONING, 2005, 3662 : 356 - 368
  • [42] NONSTANDARD DYNAMIC LOGIC TO PROVE STANDARD PROPERTIES OF PROGRAMS
    PASZTOR, A
    JOURNAL OF SYMBOLIC LOGIC, 1986, 51 (03) : 854 - 854
  • [43] Termination of logic programs for various dynamic selection rules
    Smaus, JG
    LOGIC PROGRAMMING, PROCEEDINGS, 2003, 2916 : 511 - 512
  • [45] Dynamic Reordering Bloom Filter
    Chang, Da-Chung
    Chen, Chien
    Thanavel, Mahadevan
    2017 19TH ASIA-PACIFIC NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM (APNOMS 2017): MANAGING A WORLD OF THINGS, 2017, : 288 - 291
  • [46] State reordering for low power combinational logic
    Tsai, KL
    Lai, FP
    Ruan, SJ
    Chaung, SW
    ADVANCES IN COMPUTER SYSTEMS ARCHITECTURE, 2003, 2823 : 268 - 276
  • [47] Abstract domains for reordering CLP (RLin) programs
    Ramachandran, V
    Van Hentenryck, P
    Cortesi, A
    JOURNAL OF LOGIC PROGRAMMING, 2000, 42 (03): : 217 - 256
  • [48] LOGIC OF 4 ALTERNATIVES
    JAYATILLEKE, KN
    PHILOSOPHY EAST & WEST, 1967, 17 (1-4): : 69 - 83
  • [49] Learning for dynamic assignments reordering
    Jabbour, Said
    ICTAI: 2009 21ST INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, 2009, : 336 - 343
  • [50] Distributed dynamic BDD reordering
    Nevo, Ziv
    Farkash, Monica
    43RD DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2006, 2006, : 223 - +