Loading...
Please wait, while we are loading the content...
Similar Documents
Specifying and Proving Object-oriented Programs Specifying and Proving Object-oriented Programs
| Content Provider | CiteSeerX |
|---|---|
| Author | Fleck, A. C. |
| Abstract | This paper develops a new approach to the specification of object behavior. It utilizes an algebraic framework for precise specifications that can provide a basis for the verification of an implementation. These are abstract specifications that express behavior that is dependent on the local store without assuming an explicit configuration of instance variables. The conceptual basis for this new approach is to focus on behavior exclusively from the perspective of sequences of messages rather than that of individual messages. The local store of an object means that the effect of sending the same message may differ from one time to the next. This history-sensitive character is the central feature distinguishing state dependent object classes and purely functional abstract data types. The means by which this sequence outlook can be formally modeled is the main point of the paper. To substantiate the viability of the technique, an illustrative specification is presented. This specification shows that the essential properties of an object class can be captured without imposing a structure on the object’s state representation. To illustrate this, two implementations with highly contrasting state representations are shown, and indications are given of how the specification can be used to prove each is correct. |
| File Format | |
| Access Restriction | Open |
| Subject Keyword | Object-oriented Program Specifying Object-oriented Program Local Store State Representation Illustrative Specification State Dependent Object Class Object Behavior Individual Message Precise Specification Algebraic Framework Essential Property Sequence Outlook Object Class History-sensitive Character Functional Abstract Data Type Object State Representation Instance Variable Conceptual Basis Main Point Abstract Specification Explicit Configuration Central Feature |
| Content Type | Text |
| Resource Type | Article |