Toward a constraint-satisfaction framework for evaluating program-understanding algorithms

Different program understanding algorithms often use different representational frameworks and take advantage of numerous heuristic tricks. This situation makes it difficult to compare these approaches and their performance. The paper addresses this problem by proposing constraint satisfaction as a general framework for describing program understanding algorithms, demonstrating how to transform a relatively complex existing program understanding algorithm into an instance of a constraint satisfaction problem, and showing how this facilitates better understanding of its performance.

[1]  Peter van Beek,et al.  A Theoretical Evaluation of Selected Backtracking Algorithms , 1995, IJCAI.

[2]  Rok Sosic,et al.  A polynomial time algorithm for the N-Queens problem , 1990, SGAR.

[3]  John Hartman,et al.  Understanding natural programs using proper decomposition , 1991, [1991 Proceedings] 13th International Conference on Software Engineering.

[4]  Steven Minton,et al.  Minimizing Conflicts: A Heuristic Repair Method for Constraint Satisfaction and Scheduling Problems , 1992, Artif. Intell..

[5]  Lee A. Gladwin,et al.  Intention-Based Diagnosis of Novice Programming Errors , 1987, IEEE Expert.

[6]  Patrick Prosser,et al.  HYBRID ALGORITHMS FOR THE CONSTRAINT SATISFACTION PROBLEM , 1993, Comput. Intell..

[7]  Alexander E. Quilici A hybrid approach to recognizing programming plans , 1993, [1993] IEEE Second Workshop on Program Comprehension.

[8]  Anneliese Amschler Andrews,et al.  Program Comprehension During Software Maintenance and Evolution , 1995, Computer.

[9]  Alex Quilici A memory-based approach to recognizing programming plans , 1994, CACM.

[10]  Alexander E. Quilici,et al.  DECODE: a co-operative program understanding environment , 1996 .

[11]  Linda M. Wills Automated Program Recognition: A Feasibility Demonstration , 1990, Artif. Intell..

[12]  Eugene C. Freuder,et al.  Partial Constraint Satisfaction , 1989, IJCAI.

[13]  Philip W. L. Fong,et al.  Solving partial constraint satisfaction problems using local search and abstraction , 1992 .

[14]  Qiang Yang,et al.  The program understanding problem: analysis and a heuristic approach , 1996, Proceedings of IEEE 18th International Conference on Software Engineering.

[15]  Alexander E. Quilici,et al.  Program Understanding and Constraint Satisfaction , 1995 .

[16]  Rina Dechter,et al.  From Local to Global Consistency , 1990, Artif. Intell..

[17]  Linda Mary Wills,et al.  Automated program recognition by graph parsing , 1992 .

[18]  KumarVipin Algorithms for constraint-satisfaction problems , 1992 .

[19]  Bernard A. Nadel,et al.  Constraint satisfaction algorithms 1 , 1989, Comput. Intell..

[20]  Wojtek Kozaczynski,et al.  Program Concept Recognition and Transformation , 1992, IEEE Trans. Software Eng..