Download presentation
Presentation is loading. Please wait.
1
Chess Review November 21, 2005 Berkeley, CA Edited and presented by Causality Interfaces and Compositional Causality Analysis Rachel Zhou UC Berkeley
2
Chess Review, Nov. 21, 2005"Causality Interfaces", Zhou2 Actor-Oriented Design Actors are in charge of their own actions. Actors interact with each other by exchanging data through ports. The patterns of interactions between actors are called model of computation. class name data methods call return actor name data (state) ports Input data parameters Output data Object-OrientedActor-Oriented
3
Chess Review, Nov. 21, 2005"Causality Interfaces", Zhou3 Causality Interfaces A special family of behavioral interfaces that capture the causality properties of actors and their connections. Useful for determining constructive semantics of compositions under certain models of computation. –Synchronous Languages –Discrete-Event Models –Synchronous Dataflow
4
Chess Review, Nov. 21, 2005"Causality Interfaces", Zhou4 Causality Interfaces as Functions A function that maps a pair of ports to an element in the dependency set D. –For an actor: –For a connector:
5
Chess Review, Nov. 21, 2005"Causality Interfaces", Zhou5 Dependency set D is an ordered set with two binary operators and. Synchronous Languages –D = {true, false}, false < true. – is logical and, is logical or. Discrete-Event Models –D =, “ < “ as numerical ordering. – is the minimum function, is addition. Dependency Set
6
Chess Review, Nov. 21, 2005"Causality Interfaces", Zhou6 Use operator for serial compositions and operator for parallel compositions. Compositional Analysis
7
Chess Review, Nov. 21, 2005"Causality Interfaces", Zhou7 A constructive behavior exists if there exists no port that has an immediate dependency on itself. Synchronous Languages – Discrete-Event Models – Determining Constructive Semantics
8
Chess Review, Nov. 21, 2005"Causality Interfaces", Zhou8 Conclusions An interface theory for causality interfaces of actors and their composition. An algebraic procedure to determine whether a composition has a constructive semantics. Applied to synchronous languages and discrete- event models. On-going work: synchronous dataflow, continuous time, rendezvous. Joint work with Prof. Edward A. Lee and Haiyang Zheng
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.