Learning Communicating Automata from MSCs

  • Authors:
  • Benedikt Bollig;Joost-Pieter Katoen;Carsten Kern;Martin Leucker

  • Affiliations:
  • ENS Cachan and CNRS, Cachan;RWTH Aachen University, Aachen;RWTH Aachen University, Aachen;Technical University Munich, Munich

  • Venue:
  • IEEE Transactions on Software Engineering
  • Year:
  • 2010

Quantified Score

Hi-index 0.01

Visualization

Abstract

This paper is concerned with bridging the gap between requirements and distributed systems. Requirements are defined as basic message sequence charts (MSCs) specifying positive and negative scenarios. Communicating finite-state machines (CFMs), i.e., finite automata that communicate via FIFO buffers, act as system realizations. The key contribution is a generalization of Angluin's learning algorithm for synthesizing CFMs from MSCs. This approach is exact—the resulting CFM precisely accepts the set of positive scenarios and rejects all negative ones—and yields fully asynchronous implementations. The paper investigates for which classes of MSC languages CFMs can be learned, presents an optimization technique for learning partial orders, and provides substantial empirical evidence indicating the practical feasibility of the approach.