Title :
Assignment commands and array structures
Author :
Downey, Peter J. ; Sethi, Ravi
Abstract :
Straight line programs in which array elements can be referenced and set are considered. Two programs are equivalent if they compute the same expression as a function of the inputs. Testing the equivalence of programs with arrays is shown to be NP-complete, while programs without arrays can be tested for equivalence in linear time. Equivalence testing takes polynomial time when programs have either no references or no assignments to array elements.
Keywords :
Computational modeling; Computer science; Debugging; Input variables; Interactive systems; Polynomials; Programmable logic arrays; Software algorithms; Software testing; System testing;
Conference_Titel :
Foundations of Computer Science, 1976., 17th Annual Symposium on
Conference_Location :
Houston, TX, USA
DOI :
10.1109/SFCS.1976.7