Download:
|
by Steven Woods, Alex Quilici, Qiang Yang
ftp://cs-archive.uwaterloo.ca/cs-archive/CS-95-52/CS95-52.ps.Z
Add To MetaCart
Abstract:
Different program understanding algorithms often use different representational frameworks and take advantage of numerous heuristic tricks. This situation makes it is difficult to compare these approaches and their performance. This paper addresses this problem by proposing constraint satisfaction as a general framework for describing program understanding algorithms, demonstrating how to tranform 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. Plan recognition is the task of interpreting the actions of agents in the environment, in the context of the knowledge we possess about how action occurs in the world, and why. The recognition task involves constructing a mapping, possibly partial, between an existing repository of plan and domain knowledge and a set of dynamic observations of a subset of the actions taken toward a goal. Program understanding can be viewed as a special case of plan recognition, where the task is to recognize the plans programmers have used in constructing a particular piece of legacy source code. However, program understanding differs from generalized plan recognition in that a complete
Citations
|
909
|
Consistency in networks of relations
– Mackworth
- 1977
|
|
394
|
Partial Constraint Satisfaction
– Freuder, Wallace
- 1992
|
|
346
|
Minimizing conflicts: A heuristic repair method for constraint satisfaction and scheduling problems
– Minton, Johnston, et al.
- 1992
|
|
317
|
Algorithms for constraint satisfaction problems: A survey
– Kumar
- 1992
|
|
302
|
Hybrid algorithms for the constraint satisfaction problem
– Prosser
- 1993
|
|
160
|
Generalized plan recognition
– Kautz, Allen
- 1986
|
|
139
|
A Formal Theory of Plan Recognition
– Kautz
- 1987
|
|
132
|
Constraint satisfaction algorithms
– Nadel
- 1989
|
|
119
|
The Programmer's Apprentice
– Rich, Waters
- 1990
|
|
112
|
A Theoretical Evaluation of Selected Backtracking Algorithms
– Kondrak, Beek
- 1997
|
|
103
|
From local to global consistency
– Dechter
- 1992
|
|
83
|
Program comprehension during software maintenance and evolution
– Mayrhauser, Vans
- 1995
|
|
81
|
Incorporating default inferences into plan recognition
– Carberry
- 1990
|
|
67
|
Modeling the user's plans and goals
– Carberry
- 1988
|
|
67
|
A memory-based approach to recognizing programming plans
– Quilici
- 1994
|
|
54
|
Automated program recognition by graph parsing
– Wills
- 1992
|
|
51
|
Automated Program Recognition: A Feasibility Demonstration
– Wills
- 1990
|
|
40
|
Program concept recognition and transformation
– Kozaczynski, Ning, et al.
- 1992
|
|
31
|
The interleaving problem in program understanding
– Rugaber, Stirewalt, et al.
- 1995
|
|
30
|
From plan critiquing to clarification dialogue for cooperative response generation
– Beek, Cohen, et al.
- 1993
|
|
26
|
A polynomial time algorithm for the n-queens problem
– Sosic, Gu
- 1990
|
|
23
|
Automated program understanding by concept recognition
– Kozaczynski, Ning
- 1994
|
|
23
|
DECODE: A Cooperative Program Understanding Environment
– Chin, Quilici
- 1996
|
|
21
|
DECODE: A Cooperative Environment for Reverse-Engineering Legacy Software
– Quilici, Chin
- 1995
|
|
20
|
Understanding Natural Programs Using Proper Decomposition
– Hartman
- 1991
|
|
6
|
Specifying and Updating Plan Libraries for Plan Recognition Tasks
– Cohen, Spencer
- 1993
|
|
6
|
Intention Based Diagnosis of Novice Programming Errors
– Johnson
- 1986
|
|
4
|
Assimilation in plan recognition via truth maintenance with reduced redundancy
– Spencer
- 1990
|
|
4
|
A method of interactive recognition of spatially defined model deployment templates using abstraction
– Woods
- 1993
|
|
3
|
Toward practical automated program understanding. Working Notes of the Third
– Quilici
- 1995
|
|
2
|
Representing memory-based program understanding as constraint satisfaction
– Woods, Quilici
- 1995
|