Affiliation:
1. Dept. of Electrical Engineering and Computer Sciences, University of California, Berkeley, Berkeley, CA
Abstract
Conventional type systems specify interfaces in terms of values and domains. We present a light-weight formalism that captures the
temporal
aspects of software component interfaces. Specifically, we use an automata-based language to capture both input assumptions about the order in which the methods of a component are called, and output guarantees about the order in which the component calls external methods. The formalism supports automatic compatability checks between interface models, and thus constitutes a type system for component interaction. Unlike traditional uses of automata, our formalism is based on an
optimistic
approach to composition, and on an
alternating
approach to design refinement. According to the optimistic approach, two components are compatible if there is
some
environment that can make them work together. According to the alternating approach, one interface refines another if it has weaker input assumptions, and stronger output guarantees. We show that these notions have game-theoretic foundations that lead to efficient algorithms for checking compatibility and refinement.
Publisher
Association for Computing Machinery (ACM)
Reference13 articles.
1. Lecture Notes in Computer Science 1466;Alur R.,1998
2. Lecture Notes in Computer Science;de Alfaro L.,1855
3. Statecharts: a visual formalism for complex systems
4. Lecture Notes in Computer Science;Jackson D.,1824
Cited by
386 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献