An execution scheme for interactive problem-solving in concurrent constraint logic programming languages

被引:0
|
作者
Lee, JHM [1 ]
Leung, HF [1 ]
机构
[1] Chinese Univ Hong Kong, Dept Comp Sci & Engn, Hong Kong, Hong Kong, Peoples R China
来源
COMPUTER LANGUAGES | 1999年 / 25卷 / 03期
关键词
incremental execution; concurrent constraint logic programming;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Van Emden's incremental queries address the inadequacy of current Prolog-style querying mechanism in most logic programming systems for interactive problem-solving. In the context of constraint logic programming, incremental queries involve adding new constraints or deleting old ones from a query after a solution is found. This paper presents an implementation scheme IQ of incremental queries in Constraint Pandora, which defines a class of non-deterministic concurrent constraint logic programming languages. We use Van Hentenryck and Le Provost's scheme (VHLP-scheme hereafter), a re-execution approach, as a starting point. Re-execution is costly in concurrent languages, in which process creation and inter-process communications are common operations. The main idea of IQ is that the basic trail unwinding operation used in backtracking is more efficient than re-execution in reaching an execution context along a recorded execution path. We modify the conventional trail-unwinding operation in such a way that constraints are used actively to prune the search space. Analysis shows that the IQ-scheme is at least as efficient as the VHLP-scheme in sequential systems and is much more efficient in concurrent systems. We show the feasibility of our proposal by incorporating the IQ-scheme into IFD-Constraint Pandora, an instance of Constraint Pandora supporting interval and finite domain constraint solving. Our preliminary results agree with that of theoretical analysis. (C) 2000 Elsevier Science Ltd. All rights reserved.
引用
收藏
页码:119 / 144
页数:26
相关论文
共 50 条
  • [31] A GENERAL SCHEME FOR CONSTRAINT FUNCTIONAL LOGIC PROGRAMMING
    FRANCISCOJAVIER
    LOPEZFRAGUAS
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 632 : 213 - 227
  • [32] Distributed problem-solving as concurrent theorem proving
    Fisher, M
    Wooldridge, M
    MULTI-AGENT RATIONALITY, 1997, 1237 : 128 - 140
  • [33] Experiences with strong moding in concurrent logic/constraint programming
    Ueda, K
    PARALLEL SYMBOLIC LANGUAGES AND SYSTEMS, 1996, 1068 : 134 - 153
  • [34] Non-commutative Logic and Concurrent Constraint Programming
    Ruet, P.
    Bulletin of the European Association for Theoretical Computer Science, (64):
  • [35] Concurrent constraint programming and non-commutative logic
    Ruet, P
    Fages, F
    COMPUTER SCIENCE LOGIC, 1998, 1414 : 406 - 423
  • [36] THE ROLE OF COMPUTATIONAL LOGIC AS A HINGE PARADIGM AMONG DEDUCTION, PROBLEM-SOLVING, PROGRAMMING, AND PARALLELISM
    HERMENEGILDO, M
    KNOWLEDGE ORIENTED SOFTWARE DESIGN, 1993, 27 : 207 - 221
  • [37] Parallel Logic Programming for Problem Solving
    Ramiro Varela Arias
    Camino Rodríguez Vela
    Jorge Puente Peinador
    Cesar Alonso González
    International Journal of Parallel Programming, 2000, 28 : 275 - 319
  • [38] Parallel logic programming for problem solving
    Arias, RV
    Vela, CR
    Peinador, JP
    González, CA
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2000, 28 (03) : 275 - 319
  • [39] Problem-solving workbench for interactive simulation of ecosystems
    NASA Goddard Space Flight Cent, Greenbelt, United States
    IEEE Comput Sci Eng, 3 (52-60):
  • [40] READING AND MATHEMATICAL PROBLEM-SOLVING AS INTERACTIVE PROCESSES
    AARONSON, D
    SO, P
    BULLETIN OF THE PSYCHONOMIC SOCIETY, 1990, 28 (06) : 494 - 494