首页> 外文会议>2nd international workshop on behaviour modelling - foundation and applications 2010 >Generating Transformation Rules from Examples for Behavioral Models
【24h】

Generating Transformation Rules from Examples for Behavioral Models

机译:从行为模型的示例生成转换规则

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

摘要

Behavioral UML models like sequence diagrams (SD) lack sufficient formal semantics, making it difficult to build automated tools for their analysis, simulation and validation. A common approach to circumvent the problem is to map these models to more formal representations. In this context, many works propose a rule-based approach to automatically translate behavioral models like SD into colored Petri nets (CPN). However, finding the rules for such SD-to-CPN transformations manually may be difficult, as the transformation rules are usually not obviously defined. We propose a solution that starts from the hypothesis that examples of good transformation of SD-to-CPN can be useful to automatically generate transformation rules. To this end, we describe an automated approach to find the rules that best match the meta-model elements of SD to corresponding elements in the CPN meta-model. Thus, our approach starts by randomly generating a set of rules, executing them to generate some target models. Then, it evaluates the quality of the proposed solution (rules) by comparing the generated target models to the expected ones in the base of examples. In this case, the search space is large and heuristic-search is needed. To achieve our goal, we combine two algorithms for global and local search, namely Particle Swarm Optimization (PSO) and Simulated Annealing (SA). Our empirical results show that the generated rules derive CPNs similar to the expected ones.
机译:诸如序列图(SD)之类的行为UML模型缺乏足够的形式语义,这使得难以构建用于对其分析,仿真和验证的自动化工具。解决该问题的常用方法是将这些模型映射到更正式的表示形式。在这种情况下,许多工作提出了一种基于规则的方法,将SD等行为模型自动转换为彩色Petri网(CPN)。但是,手动查找此类SD到CPN转换的规则可能很困难,因为通常没有明显定义转换规则。我们提出一个从以下假设开始的解决方案:SD到CPN良好转换的示例可用于自动生成转换规则。为此,我们描述了一种自动方法,以找到最能将SD的元模型元素与CPN元模型中的相应元素匹配的规则。因此,我们的方法从随机生成一组规则开始,执行它们以生成一些目标模型。然后,通过在示例的基础上将生成的目标模型与预期模型进行比较,来评估所提出解决方案(规则)的质量。在这种情况下,搜索空间很大,并且需要启发式搜索。为了实现我们的目标,我们结合了两种全局和局部搜索算法,即粒子群优化(PSO)和模拟退火(SA)。我们的经验结果表明,生成的规则得出的CPN与预期的相似。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号