Article ID Journal Published Year Pages File Type
422691 Electronic Notes in Theoretical Computer Science 2006 13 Pages PDF
Abstract

In general, invariants may depend on the state of other objects. The approach introduced in this paper allows this for objects of mutually visible classes, in a way that supports modular verification. To this end, dependencies are made explicit by cooperation. In particular, invariants expressing non-hierarchical object relations are supported. Furthermore, an inc-set allows a method to specify explicitly that it does not depend on the validity of a certain invariant. This way, it can be called even when that invariant is violated.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics