arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1409.2314cs.SE
收藏

CD2Alloy:再论使用Alloy的类图分析

CD2Alloy: Class Diagrams Analysis Using Alloy Revisited

Shahar Maoz, Jan Oliver Ringert, Bernhard Rumpe

摘要:

我们提出了CD2Alloy,一个新颖的,强大的UML类图(CD)到Alloy的翻译。与现有的基于浅嵌入策略的翻译不同,CD2Alloy使用更深的嵌入策略,因此仅限于检查一致性和生成单个CD的符合对象模型,并支持有限的CD语言功能集。CD2Alloy不是将每个CD构造映射到语义上等效的Alloy构造,而是将(一些)CD构造定义为Alloy中的新概念。这使得能够解决涉及多个CD并且不能由早期作品解决的几个分析问题,并支持CD语言功能的扩展列表。这些想法在原型Eclipse插件中实现。这项工作推进了CD分析的最新技术,也可以被视为一个有趣的案例研究,研究一种建模语言到另一种建模语言的不同可能的翻译,它们的优点和缺点。

英文摘要:

We present CD2Alloy, a novel, powerful translation of UML class diagrams (CDs) to Alloy. Unlike existing translations, which are based on a shallow embedding strategy, and are thus limited to checking consistency and generating conforming object models of a single CD, and support a limited set of CD language features, CD2Alloy uses a deeper embedding strategy. Rather than mapping each CD construct to a semantically equivalent Alloy construct, CD2Alloy defines (some) CD constructs as new concepts within Alloy. This enables solving several analysis problems that involve more than one CD and could not be solved by earlier works, and supporting an extended list of CD language features. The ideas are implemented in a prototype Eclipse plug-in. The work advances the state-of-the-art in CD analysis, and can also be viewed as an interesting case study for the different possible translations of one modeling language to another, their strengths and weaknesses.

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

↑