Citation
Puebla Sánchez, Alvaro Germán and Hermenegildo, Manuel V.
(1996).
Optimized algorithms for the incremental analysis of logic programs.
In: "Third International Symposium, SAS '96", September 24 - 26, 1996, Aachen, Germany. ISBN 9783540617396.
Abstract
Global analysis of logic programs can be performed effectively by the use of one of several existing efficient algorithms. However, the traditional global analysis scheme in which all the program code is known in advance and no previous analysis information is available is unsatisfactory
in many situations. Incrementa! analysis of logic programs
has been shown to be feasible and much more efficient in certain contexts than traditional (non-incremental) global analysis. However, incremental analysis poses additional requirements on the fixpoint algorithm used. In this work we identify these requirements, present an important class of strategies meeting the requirements, present sufficient a priori conditions for such strategies, and propose, implement, and evalúate experimentally a novel algorithm for incremental analysis based on these ideas. The experimental results show that the proposed algorithm performs very efficiently in the incremental case while being comparable to (and, in some cases, considerably better than) other state-of-the-art analysis algorithms even for the non-incremental case. We argüe that our
discussions, results, and experiments also shed light on some of the many tradeoffs involved in the design of algorithms for logic program analysis.