arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1401.2751cs.SE
收藏

使用克隆转换属性结构(长版)

Transformation of Attributed Structures with Cloning (Long Version)

Dominique Duval, Rachid Echahed, Frederic Prost, Leila Ribeiro

摘要:

克隆是计算机科学中许多应用程序规范中使用的基本操作。然而,当处理复杂的结构时,如图,克隆不是一个简单的操作,因为单个顶点的副本可能涉及(隐式地)复制许多边。因此,大多数图转换方法禁止克隆的可能性。我们解决这个问题,提供了一个框架,图转换与克隆。我们使用属性图,并允许规则更改属性。这两个特性(克隆/更改属性)一起产生了一个强大的正式规范方法。为了处理不同类型的图和属性,我们首先以抽象的方式定义属性结构的概念。然后,我们推广倍半推出的方法,图变换的一般框架,并给出适当的条件下,属性结构可以转换。最后,我们用不同的例子实例化我们的一般框架,表明许多结构可以处理,并且所提出的框架允许以自然的方式指定复杂的操作。

英文摘要:

Copying, or cloning, is a basic operation used in the specification of many applications in computer science. However, when dealing with complex structures, like graphs, cloning is not a straightforward operation since a copy of a single vertex may involve (implicitly)copying many edges. Therefore, most graph transformation approaches forbid the possibility of cloning. We tackle this problem by providing a framework for graph transformations with cloning. We use attributed graphs and allow rules to change attributes. These two features (cloning/changing attributes) together give rise to a powerful formal specification approach. In order to handle different kinds of graphs and attributes, we first define the notion of attributed structures in an abstract way. Then we generalise the sesqui-pushout approach of graph transformation in the proposed general framework and give appropriate conditions under which attributed structures can be transformed. Finally, we instantiate our general framework with different examples, showing that many structures can be handled and that the proposed framework allows one to specify complex operations in a natural way.

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

↑