DocumentCode :
751822
Title :
An Alphard Specification of a Correct and Efficient Transformation on Data Structures
Author :
Bentley, Jon L. ; Shaw, Mary
Author_Institution :
Departments of Computer Science and Mathematics, Carnegie-Mellon University
Issue :
6
fYear :
1980
Firstpage :
572
Lastpage :
584
Abstract :
In this paper we study the problem of designing and specifying standard program components applicable to a wide variety of tasks; we choose for this study the specific problem domain of data structures for general searching problems. Within this domain Bentley and Saxe [1] have developed transformations for converting solutions of simple searching problems to solutions of more complex problems. We discuss one of those transformations, specify precisely the transformation and its conditions of applicability, and prove its correctness; we accomplish this by casting it in terms of abstract data types–specifically by using the Alphard form mechanism. The costs of the structures derived by this transformation are only slightly greater than the costs of the original structures, and the correctness of the transformation definition together with the correctness of the original structure assure the correctness of the derived structure. The transformation we describe has already been used to develop a number of new algorithms, and it represents a new level of generality in software engineering tools.
Keywords :
Abstract data types; generic definitions; program verification; searching problems; transformations on data structures; Casting; Computer science; Costs; Data structures; Mathematics; Merging; Software algorithms; Software engineering; Abstract data types; generic definitions; program verification; searching problems; transformations on data structures;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/TSE.1980.234506
Filename :
1702784
Link To Document :
بازگشت