【24h】

Short-Cut Rules Sequential Composition of Rules Avoiding Unnecessary Deletions

机译:快捷规则顺序组成规则,避免不必要的删除

获取原文

摘要

Sequences of rule applications in high-level replacement systems are difficult to adapt. Often, replacing a rule application at the beginning of a sequence, i.e., reverting a rule and applying another one instead, is prevented by structure created via rule applications later on in the sequence. A trivial solution would be to roll back all applications and reapply them in a proper way. This, however, has the disadvantage of being computationally expensive and, furthermore, may cause the loss of information in the process. Moreover, using existing constructions to compose the reversal of a rule with the application of another one, in particular the concurrent and amalgamated rule constructions, does not prevent the loss of information in case that the first rule deletes elements being recreated by the second one. To cope with both problems, we introduce a new kind of rule composition through 'short-cut rules'. We present our new kind of rule composition for monotonic rules in adhesive HLR systems, as they provide a well-established generalization of graph-based transformation systems, and motivate it on the example of Triple Graph Grammars, a declarative and rule-based bidirectional transformation approach.
机译:高级替换系统中规则应用程序的顺序很难适应。通常,通过在序列的后面通过规则应用程序创建的结构来防止在序列的开始处替换规则应用程序,即还原规则并改为应用另一个规则。一个简单的解决方案是回滚所有应用程序,然后以适当的方式重新应用它们。然而,这具有计算量大的缺点,此外,还可能导致处理中信息的丢失。此外,在第一个规则删除由第二个规则重新创建的元素的情况下,使用现有结构通过另一规则的应用来构成规则的反转,特别是并发和合并的规则结构,并不能防止信息丢失。为了解决这两个问题,我们通过“快捷规则”引入了一种新的规则组合。我们介绍了用于粘合剂HLR系统中单调规则的新型规则组合,因为它们提供了基于图的转换系统的完善确立的概括,并以“三重图语法”为例,它是声明式和基于规则的双向转换方法。

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号