Executing Scenario-Based Specification with Dynamic Generation of Rich Events

David Harel, Guy Katz, Assaf Marron, Aviran Sadon, Gera Weiss

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

9 Scopus citations

Abstract

Scenario-Based Programming (SBP) is an approach to modeling and running complex, event-based, system behavior by composing narrower views of overall behavior. In this paper we introduce significant extensions to the strict interfaces by which scenarios in existing SBP frameworks specify what the system must, may, or must not do, and to the mechanisms that execute these scenarios: (i) we allow events with a multitude of variables and parameters; each event can become an entire model, and each event selection can be the selection of a major section of the new state of the system and the environment; (ii) we extend the basic request/block SBP interfaces with a rich set of composable constraints and functions, which can describe desired and undesired variable assignments, where each constraint may relate to all variables or to just a subset thereof; (iii) we introduce a central, application-agnostic mechanism for adding optimization to standard event selection; and (iv) we relate our method to Null-Space Behavior (NSB)—a successful compositional approach in control theory. We demonstrate these language-independent concepts through several use cases that are implemented in a variety of languages and solvers.

Original languageEnglish
Title of host publicationModel-Driven Engineering and Software Development - 7th International Conference, MODELSWARD 2019, Revised Selected Papers
EditorsSlimane Hammoudi, Luís Ferreira Pires, Bran Selic
PublisherSpringer
Pages246-274
Number of pages29
ISBN (Print)9783030378721
DOIs
StatePublished - 3 Jan 2020
Event7th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2019 - Prague, Czech Republic
Duration: 20 Feb 201922 Feb 2019

Publication series

NameCommunications in Computer and Information Science
Volume1161 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference7th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2019
Country/TerritoryCzech Republic
CityPrague
Period20/02/1922/02/19

Keywords

  • Behavioral programming
  • Constraint solvers
  • MATLAB-Simulink Z3
  • Mathematica
  • NSB
  • Python
  • SMT solvers
  • Scenario-Based Programming

ASJC Scopus subject areas

  • General Computer Science
  • General Mathematics

Fingerprint

Dive into the research topics of 'Executing Scenario-Based Specification with Dynamic Generation of Rich Events'. Together they form a unique fingerprint.

Cite this