HackerPapers

arXiv:1909.00408cs.SE

On-the-Fly Construction of Composite Events in Scenario-Based Modeling using Constraint Solvers

Guy Katz, Assaf Marron, Aviran Sadon, Gera Weiss

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Scenario-Based Programming is a methodology for modeling and constructing complex reactive systems from simple, stand-alone building blocks, called scenarios. These scenarios are designed to model different traits of the system, and can be interwoven together and executed to produce cohesive system behavior. Existing execution frameworks for scenario-based programs allow scenarios to specify their view of what the system must, may, or must not do only through very strict interfaces. This limits the methodology's expressive power and often prevents users from modeling certain complex requirements. Here, we propose to extend Scenario-Based Programming's execution mechanism to allow scenarios to specify how the system should behave using rich logical constraints. We then leverage modern constraint solvers (such as SAT or SMT solvers) to resolve these constraints at every step of running the system, towards yielding the desired overall system behavior. We provide an implementation of our approach and demonstrate its applicability to various systems that could not be easily modeled in an executable manner by existing Scenario-Based approaches.

arXiv comments
This is a preprint version of the paper that appeared at Modelsward 2019
Journal reference
DOI
Subjects
cs.SESoftware Engineering

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jan 2020 to Jan 2020.

Comments linking this paper, per year.

Discussed in comments1 thread

  1. Depending Less on Structure 1 comment
    • Very interesting insight! Indeed the authors are working (as of 2019) on making the sync points resolve based on constraint solvers: - https://arxiv.org/abs/1909.00408 - https://www.researchgate.net/publication/338358976_Executing... I am currently reading through your research…

      sktrdieView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.