arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.10981cs.SEcs.FL
收藏

异步时序图的简单迹语义

A Simple Trace Semantics for Asynchronous Sequence Diagrams

David Faitelson, Shmuel Tyszberowicz

AI总结:

本文针对UML时序图语义不明确且现有方案过于复杂的问题,提出基于正则语言理论的简单迹语义,覆盖主要组合片段及生命线创建删除,便于工程师使用。

摘要:

时序图是描述软件实体之间交互的一种流行技术。然而,由于OMG组织的UML标准并非基于严格的数学结构,因此无法推导出该表示法语义的单一解释,也无法精确理解其不同片段之间如何相互作用。尽管文献中提出了许多语义建议,但它们对于大多数软件工程师来说在数学上要求过高,且往往不完整,尤其是在处理生命线创建和删除的语义方面。在这项工作中,我们描述了一种基于正则语言理论的简单语义,该数学理论是每所计算机科学本科课程中的标准部分,并涵盖了所有主要的组合片段,以及生命线的创建和删除。

英文摘要:

Sequence diagrams are a popular technique for describing interactions between software entities. However, because the OMG group's UML standard is not based on a rigorous mathematical structure, it is impossible to deduce a single interpretation for the notation's semantics, nor to understand precisely how its different fragments interact. While there are a lot of suggested semantics in the literature, they are too mathematically demanding for the majority of software engineers, and often incomplete, especially in dealing with the semantics of lifeline creation and deletion. In this work we describe a simple semantics based on the theory of regular languages, a mathematical theory that is a standard part of the curriculum in every computer science undergraduate degree and covers all the major compositional fragments, and the creation and deletion of lifelines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑