Title :
On the theory of patching
Author :
Pap, Zoltáan ; Csopaki, Gyula ; Dibuz, Sarolta
Author_Institution :
Dept. of Telecommun. & Media Informatics, Budapest Univ., Hungary
Abstract :
We study the problem of patching, i.e., modifying the behavior of an existing system. We consider systems modelled as finite state machines (FSMs), and define edit operators for them based on a traditional fault model. We argue that sequences of edit operations can be considered as models of patches defining modifications to an FSM system. We utilize recent results in graph matching theory as mathematical foundations. We introduce a new type of problem which we call the optimal patch or optimal update problem: given an FSM M modeling the behavior of an existing system and an other machine M´ modeling a new design, find an optimal patch, i.e., the edit operations changing M to M´ that are minimal according to a given cost function associated with the edit operations. We analyze the complexity of the problem, and conclude that it is unlikely to have a polynomial time solution for it. We also show that the problem can be easily transformed to a state-space search problem, for which many heuristic approximation algorithms have been developed.
Keywords :
computational complexity; finite state machines; formal specification; graph theory; optimisation; search problems; FSM; edit operation; finite state machines; graph matching theory; heuristic approximation algorithms; optimal update problem; patching problem; state-space search problem; Approximation algorithms; Automata; Computer errors; Computer science; Cost function; Heuristic algorithms; Informatics; Polynomials; Search problems; Testing; edit distance; edit operations; finite state machine; optimal patch; patching; update;
Conference_Titel :
Software Engineering and Formal Methods, 2005. SEFM 2005. Third IEEE International Conference on
Print_ISBN :
0-7695-2435-4
DOI :
10.1109/SEFM.2005.31