使用约束求解器在基于场景的建模中动态构建复合事件
On-the-Fly Construction of Composite Events in Scenario-Based Modeling using Constraint Solvers
摘要:
Scenario-Based Programming是一种从简单的独立构建块(称为场景)建模和构建复杂反应系统的方法。这些场景被设计用来模拟系统的不同特性,并且可以交织在一起并执行以产生内聚的系统行为。现有的执行框架,基于ADO的程序允许场景,以指定他们的看法,什么系统必须,可以,或必须不做,只有通过非常严格的接口。这限制了方法的表达能力,并且经常阻止用户对某些复杂的需求进行建模。在这里,我们建议扩展基于场景的编程的执行机制,允许场景指定系统应该如何使用丰富的逻辑约束。然后,我们利用现代约束求解器(如SAT或SMT求解器)在运行系统的每一步解决这些约束,以产生所需的整体系统行为。我们提供了一个实现我们的方法,并证明其适用于各种系统,不能很容易地通过现有的基于场景的方法在一个可执行的方式建模。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。