CLPGUI: A generic graphical user interface for constraint logic programming

被引:10
作者
Fages, F [1 ]
Soliman, S [1 ]
Coolen, R [1 ]
机构
[1] INRIA Rocquencourt, Projet Contraintes, F-78153 Le Chesnay, France
关键词
constraint programming; visualization; program annotation; GUI; search trees; debugging;
D O I
10.1023/B:CONS.0000049203.53383.c1
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
CLPGUI is a generic graphical user interface for visualizing and controlling the execution of constraint logic programs. CLPGUI has been designed to be used in different contexts: initially for teaching purposes, then for debugging complex programs of real-world scale, and recently for developing end-user interfaces. The challenge of developing a tool which is generic w.r.t. both the constraint logic programming system and the visualizers, is addressed by a client-server architecture for connecting a CLP process to a Java-based GUI process, and by a non-intrusive tracing and control method based on annotations in the CLP program. Arbitrary constraints and goals can be posted incrementally from the GUI in an interactive manner, and arbitrary states can be recomputed. We describe several generic 2D and 3D viewers of the variables and of the search tree, and argue that the 3D representation is best-suited to apprehend the shape of large search trees. We also illustrate the use of CLPGUI for developing application-oriented end-user interfaces on two placement problems, one in virtual reality.
引用
收藏
页码:241 / 262
页数:22
相关论文
共 26 条
  • [1] Bouvier P, 2000, LECT NOTES COMPUT SC, V1870, P177
  • [2] BRACCHI C, 2001, P P 11 WORKSH LOG PR, P27
  • [3] BRADY T, 2002, 2 ACM UIST INT DES C
  • [4] Carro M, 2000, LECT NOTES COMPUT SC, V1870, P237
  • [5] Carro M, 2000, LECT NOTES COMPUT SC, V1870, P253
  • [6] CHOI CW, 2001, P 7 INT C PRINC PRAC, P240
  • [7] COOLEN R, 2003, APPORT REALITE VIRTU
  • [8] DERANSART P, 2002, P US INT CONSTR SAT, P32
  • [9] Diaz Daniel, 1999, GNU PROLOG USERS MAN
  • [10] THE TRANSPARENT PROLOG MACHINE (TPM) - AN EXECUTION MODEL AND GRAPHICAL DEBUGGER FOR LOGIC PROGRAMMING
    EISENSTADT, M
    BRAYSHAW, M
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1988, 5 (04): : 277 - 342