Computational issues in exploiting dependent and-parallelism in logic programming: Leftness detection in dynamic search trees

被引:1
|
作者
Wu, Y [1 ]
Pontelli, E [1 ]
Ranjan, D [1 ]
机构
[1] New Mexico State Univ, Dept Comp Sci, Las Cruces, NM 88003 USA
关键词
D O I
10.1007/11591191_7
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present efficient Pure Pointer Machine (PPM) algorithms to test for "leftness" in dynamic search trees and related problems. In particular, we show that the problem of testing if a node x is in the leftmost branch of the subtree rooted in node y, in a dynamic tree that grows and shrinks at the leaves, can be solved on PPMs in worst-case O((lg lg n)(2)) time per operation in the semi-dynamic case-i.e., all the operations that add leaves to the tree are performed before any other operations-where n is the number of operations that affect the structure of the tree. We also show that the problem can be solved on PPMs in amortized O((lg lg n)(2)) time per operation in the fully dynamic case.
引用
收藏
页码:79 / 94
页数:16
相关论文
共 3 条
  • [1] On the complexity of Dependent And-Parallelism in logic programming
    Wu, Y
    Pontelli, E
    Ranjan, D
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2003, 2916 : 361 - 376
  • [2] A COMPILING APPROACH FOR EXPLOITING AND-PARALLELISM IN PARALLEL LOGIC PROGRAMMING SYSTEMS
    HWANG, Z
    HU, S
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1989, 366 : 335 - 345
  • [3] AND OR PARALLEL EXECUTION OF LOGIC PROGRAMS - EXPLOITING DEPENDENT AND-PARALLELISM
    ZHENG, YH
    TU, HL
    XIE, L
    [J]. SIGPLAN NOTICES, 1993, 28 (05): : 19 - 28