首页> 外文期刊>The journal of logical and algebraic methods in programming >Constructing optimized constraint-preserving application conditions for model transformation rules
【24h】

Constructing optimized constraint-preserving application conditions for model transformation rules

机译:构建用于模型转换规则的优化约束保留应用条件

获取原文
获取原文并翻译 | 示例

摘要

There is an increasing need for model transformations ensuring valid result models w.r.t. a given constraint. In model refactoring, for example, each performed refactoring should yield a valid model again. Given a constraint, if a model transformation rule always produces valid output, it is calledconstraint-guaranteeing; if only when applied to an already valid model, it is calledconstraint-preserving. In the literature, there is a formal construction for model transformation systems making them constraint-guaranteeing. This is ensured by adding application conditions to their transformation rules. These conditions can become quite large, though. As there are interesting application cases where transformations just need to be constraint-preserving (such as model refactoring), the construction of application conditions was also adapted to this case. Although logically weaker, the straightforward construction can lead to even larger application conditions. In this work, we develop simplifications of constraint-guaranteeing conditions by omitting certain parts of these conditions, namely of parts that check for antecedent validity. We prove that the resulting application conditions are constraint-preserving and characterize their logical strength. Our theory is developed forM-adhesive categories which encompass various graph-like model structures. In addition, the computation of constraint-guaranteeing application conditions and their simplifications was implemented in the Eclipse plug-in OCL2AC. Evaluations show that the complexity of the constructed simplified conditions is reduced by factor 7 on average. Moreover, this optimization yields a speedup of rule application by approximately 2.5 times.
机译:越来越需要模型转换,确保有效的结果模型w.r.t.给定的约束。例如,在模型重构中,每个执行的重构应该再次产生有效模型。给定约束,如果模型转换规则始终产生有效输出,则称为保证保证;如果仅在应用于已经有效的模型时,它被称为保留。在文献中,有一个正式的建筑,用于模型转换系统,使其约束保证。通过向其转型规则添加应用条件来确保这一点。然而,这些条件可能变得相当大。由于存在有趣的应用案例,其中改变需要限制保留(例如模型重构),因此应用条件的构建也适用于这种情况。虽然逻辑上较弱,但直接的施工可以导致更大的应用条件。在这项工作中,我们通过省略这些条件的某些部分来制定限制保障条件的简化,即检查前一种有效性的部分。我们证明所产生的申请条件是限制保存并表征其逻辑强度。我们的理论是开发的形式粘性类别,包括各种图形模型结构。此外,在Eclipse插件OCL2AC中实现了约束保证应用条件及其简化的计算。评估表明,构造的简化条件的复杂性平均减少了因素7。此外,该优化产生了大约2.5倍的规则应用的加速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号