Incremental analysis of constraint logic programs

被引:49
|
作者
Hermenegildo, M [1 ]
Puebla, G
Marriott, K
Stuckey, PJ
机构
[1] Univ Politecn Madrid, Fac Informat, E-28660 Madrid, Spain
[2] Monash Univ, Sch Comp Sci & Software Engn, Clayton, Vic 3168, Australia
[3] Univ Melbourne, Dept Comp Sci & Software Engn, Parkville, Vic 3052, Australia
关键词
languages; abstract interpretation; constraint logic programming; incremental computation; static analysis;
D O I
10.1145/349214.349216
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Global analyzers traditionally read and analyze the entire program at once, in a nonincremental way. However, there are many situations which are not well suited to this simple model and which instead require reanalysis of certain parts of a program which has already been analyzed. In these cases, it appears inefficient to perform the analysis of the program again from scratch, as needs to be done with current systems. We describe how the fixed-point algorithms used in current generic analysis engines for (constraint) logic programming languages can be extended to support incremental analysis. The possible changes to a program are classified into three types: addition, deletion, and arbitrary change. For each one of these, we provide one or more algorithms for identifying the parts of the analysis that must be recomputed and for performing the actual recomputation. The potential benefits and drawbacks of these algorithms are discussed. Finally, we present some experimental results obtained with an implementation of the algorithms in the PLAI generic abstract interpretation framework. The results show significant benefits when using the proposed incremental analysis algorithms.
引用
收藏
页码:187 / 223
页数:37
相关论文
共 50 条
  • [31] Incremental maintenance of overgrounded logic programs with tailored simplifications
    Ianni, Giovambattista
    Pacenza, Francesco
    Zangari, Jessica
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2020, 20 (05) : 719 - 734
  • [32] A local algorithm for incremental evaluation of tabled logic programs
    Saha, Diptikalyan
    Ramakrishnan, C. R.
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2006, 4079 : 56 - 71
  • [33] An automatic partial deduction system for constraint logic programs
    Tao, Y
    Grosky, WI
    Liu, CN
    [J]. NINTH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 1997, : 149 - 156
  • [34] Logic programs with abstract constraint atoms: The role of computations
    Liu, Lengning
    Pontelli, Enrico
    Son, Tran Cao
    Truszczynski, Miroslaw
    [J]. ARTIFICIAL INTELLIGENCE, 2010, 174 (3-4) : 295 - 315
  • [35] Logic programs with abstract constraint atoms: The role of computations
    Liu, Lengning
    Pontelli, Enrico
    Son, Tran Cao
    Truszczynski, Miroslaw
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2007, 4670 : 286 - +
  • [36] Strong Equivalence of Logic Programs with Abstract Constraint Atoms
    Liu, Guohua
    Goebel, Randy
    Janhunen, Tomi
    Niemela, Ilkka
    You, Jia-Huai
    [J]. LOGIC PROGRAMMING AND NONMONOTONIC REASONING, 2011, 6645 : 161 - 173
  • [37] UNFOLDING AND FIXPOINT SEMANTICS OF CONCURRENT CONSTRAINT LOGIC PROGRAMS
    GABBRIELLI, M
    LEVI, G
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1990, 463 : 204 - 216
  • [38] Transformation rules for locally stratified constraint logic programs
    Fioravanti, F
    Pettorossi, A
    Proietti, M
    [J]. PROGRAM DEVELOPMENT IN COMPUTATIONAL LOGIC: A DECADE OF RESEARCH ADVANCES IN LOGIC-BASED PROGRAM DEVELOPMENT, 2004, 3049 : 291 - 339
  • [39] Generalized semantics and abstract interpretation for constraint logic programs
    Giacobazzi, R
    Debray, SK
    Levi, G
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1995, 25 (03): : 191 - 247
  • [40] Non-termination inference for constraint logic programs
    Payet, E
    Mesnard, F
    [J]. STATIC ANALYSIS, PROCEEDINGS, 2004, 3148 : 377 - +