Modeling and analysis of Reo connectors using alloy

  • Authors:
  • Ramtin Khosravi;Marjan Sirjani;Nesa Asoudeh;Shaghayegh Sahebi;Hamed Iravanchi

  • Affiliations:
  • School of Electrical and Computer Engineering, University of Tehran, Tehran, Iran;School of Electrical and Computer Engineering, University of Tehran, Tehran, Iran and School of Computer Science, Institute for Studies in Theoretical Physics and Mathematics, Tehran, Iran;School of Electrical and Computer Engineering, University of Tehran, Tehran, Iran;School of Electrical and Computer Engineering, University of Tehran, Tehran, Iran;School of Electrical and Computer Engineering, University of Tehran, Tehran, Iran

  • Venue:
  • COORDINATION'08 Proceedings of the 10th international conference on Coordination models and languages
  • Year:
  • 2008

Quantified Score

Hi-index 0.01

Visualization

Abstract

Reo is an exogenous coordination language based on a calculus of channel composition. Different formal models have been developed for this language. In this paper, we present a new approach to modeling and analysis of Reo connectors using Alloy which is a lightweight modeling language based on first-order relational logic. We provide a reusable library of Reo channels in Alloy that can be used to create a model of a Reo connector in Alloy. The model is simple and reflects the original structure of the connector. Furthermore, the model of a connector can be reused as a component for constructing more complex connectors. Using the Alloy Analyzer tool, properties expressed as predicates can be verified by automatically analyzing the execution traces of the Reo connector. We handle the context-sensitive behavior of channels as well as optional constraints on the interactions with environment. Our compositional model can be used as an alternative to other existing approaches, and is supported by a well known tool with a rich set of features such as counterexample generation.