首页> 外文期刊>Software and systems modeling >Search-based model transformation by example
【24h】

Search-based model transformation by example

机译:基于示例的基于搜索的模型转换

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

摘要

Model transformation (MT) has become an important concern in software engineering. In addition to its role in model-driven development, it is useful in many other situations such as measurement, refactoring, and test-case generation. Roughly speaking, MT aims to derive a target model from a source model by following some rules or principles. So far, the contributions in MT have mostly relied on defining languages to express transformation rules. However, the task of defining, expressing, and maintaining these rules can be difficult, especially for proprietary and non-widely used formalisms. In some situations, companies have accumulated examples from past experiences. Our work starts from these observations to view the transformation problem as one to solve with fragmentary knowledge, i.e. with only examples of source-to-target MTs. Our approach has two main advantages: (1) it always proposes a transformation for a source model, even when rule induction is impossible or difficult to achieve; (2) it is independent from the source and target formalisms; aside from the examples, no extra information is needed. In this context, we propose an optimization-based approach that consists of finding in the examples combinations of transformation fragments that best cover the source model. To that end, we use two strategies based on two search-based algorithms: particle swarm optimization and simulated annealing. The results of validating our approach on industrial projects show that the obtained models are accurate.
机译:模型转换(MT)已成为软件工程中的重要问题。除了在模型驱动的开发中发挥作用外,它在许多其他情况下(例如度量,重构和测试用例生成)也很有用。粗略地说,MT的目的是通过遵循一些规则或原则从源模型派生目标模型。到目前为止,MT的贡献主要依靠定义语言来表达转换规则。但是,定义,表达和维护这些规则的任务可能会很困难,尤其是对于专有的和未广泛使用的形式主义而言。在某些情况下,公司从过去的经验中积累了很多例子。我们的工作从这些观察开始,将转换问题视为需要零碎知识解决的问题,即仅使用源到目标MT的示例来解决。我们的方法有两个主要优点:(1)即使无法或很难实现规则归纳,它总是建议对源模型进行转换; (2)它独立于源和目标形式主义;除了示例之外,不需要其他信息。在这种情况下,我们提出了一种基于优化的方法,该方法包括在示例中找到最能覆盖源模型的转换片段组合。为此,我们基于两种基于搜索的算法使用两种策略:粒子群优化和模拟退火。验证我们的工业项目方法的结果表明,所获得的模型是准确的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号