Abstract | ||
---|---|---|
Typed models of connector/component composition specify interfaces describing ports of components and connectors. Typing ensures that these ports are plugged together appropriately, so that data can flow out of each output port and into an input port. These interfaces typically consider the direction of data flow and the type of values flowing. Components, connectors, and systems are often parameterised in such a way that the parameters affect the interfaces. Typing such connector families is challenging. This paper takes a first step towards addressing this problem by presenting a calculus of connector families with integer and boolean parameters. The calculus is based on monoidal categories, with a dependent type system that describes the parameterised interfaces of these connectors. We use families of Reo connectors as running examples, and show how this calculus can be applied to Petri Nets and to BIP systems. The paper focuses on the structure of connectors—well-connectedness—and less on their behaviour, making it easily applicable to a wide range of coordination and component-based models. A type-checking algorithm based on constraints is used to analyse connector families, supported by a proof-of-concept implementation. |
Year | DOI | Venue |
---|---|---|
2017 | 10.1016/j.scico.2017.03.002 | Science of Computer Programming |
Keywords | Field | DocType |
Calculus of connectors,Variability in connectors,Composition of families,Type system,Tile Model | Integer,Port (computer networking),Programming language,Petri net,Computer science,Theoretical computer science,Cable gland,Dependent type,Semantics,Data flow diagram | Journal |
Volume | ISSN | Citations |
146 | 0167-6423 | 0 |
PageRank | References | Authors |
0.34 | 16 | 2 |
Name | Order | Citations | PageRank |
---|---|---|---|
José Proença | 1 | 158 | 11.75 |
Dave Clarke | 2 | 416 | 26.19 |