首页> 外文OA文献 >Pragmatic model transformations for refactoring in Scilab/Xcos
【2h】

Pragmatic model transformations for refactoring in Scilab/Xcos

机译:在Scilab / Xcos中进行重构的实用模型转换

摘要

Model-Based Development has become an industry wide standard paradigm. As an open source alternative, Scilab/Xcos is being widely employed as a hybrid dynamic systems modeling tool. With the increasing efficiency in implementation using graphical model development and code generation, the modeling and simulation community is struggling with assuring quality as well as maintainability and extendibility. Refactoring is defined as an evolutionary modernization activity where, most of the time, the structure of the artifact is changed to alter its quality characteristics, while keeping its behaviour unchanged. It has been widely established as a technique for textual programming languages to improve the code structure and quality. While refactoring is also regarded as one of the key practices of model engineering, the methodologies and approaches for model refactoring are still under development. Architecture-Driven Modernization (ADM) has been introduced by the software engineering community as a model-based approach to software modernization, in which the implicit information that lies in software artifacts is extracted to models and model transformations are applied for modernization tasks. Regarding refactoring as a low level modernization task, the practices from ADM are adaptable. Accordingly, this paper proposes a model-based approach for model refactoring in order to come up with more efficient and effective model refactoring methodology that is accessible and extendable by modelers. Like other graphical modeling tools, Scilab/Xcos also possesses a formalized model specification conforming to its implicit metamodel. Rather than proposing another metamodel for knowledge extraction, this pragmatic approach proposes to conduct in place model-to-model transformations for refactoring employing the Scilab/Xcos model specification. To construct a structured model-based approach, the implicit Scilab/Xcos metamodel is explicitly presented utilizing ECORE as a meta-metamodel. Then a practical model transformation approach is established based on Scilab scripting. A Scilab toolset is provided to the modeler for in-place model-to-model transformations. Using a sample case study, it is demonstrated that proposed model transformation functions in Scilab provide a valuable refactoring tool.
机译:基于模型的开发已成为行业标准范式。作为开源替代方案,Scilab / Xcos被广泛用作混合动力系统建模工具。随着使用图形模型开发和代码生成的实施效率不断提高,建模和仿真社区正努力确保质量以及可维护性和可扩展性。重构被定义为一种进化的现代化活动,其中在大多数情况下,人工制品的结构被更改以改变其质量特征,同时保持其行为不变。它已被广泛确立为一种用于文本编程语言的技术,以改善代码结构和质量。虽然重构也被认为是模型工程的关键实践之一,但是模型重构的方法论和方法仍在开发中。软件工程社区已将体系结构驱动的现代化(ADM)引入作为基于模型的软件现代化方法,其中将位于软件工件中的隐式信息提取到模型中,并将模型转换应用于现代化任务。将重构作为低水平的现代化任务,ADM的实践是可适应的。因此,本文提出了一种基于模型的模型重构方法,以提出一种更有效,更有效的模型重构方法,建模者可以使用该方法。像其他图形建模工具一样,Scilab / Xcos也拥有符合其隐式元模型的形式化模型规范。这种务实的方法不是提出用于知识提取的另一个元模型,而是建议采用Scilab / Xcos模型规范对模型进行模型转换以进行重构。为了构建基于结构化模型的方法,隐式Scilab / Xcos元模型使用ECORE作为元元模型进行了明确展示。然后基于Scilab脚本建立了一种实用的模型转换方法。向建模器提供了一个Scilab工具集,用于就地进行模型到模型的转换。通过一个样本案例研究,表明Scilab中提出的模型转换功能提供了一种有价值的重构工具。

著录项

  • 作者

    Durak Umut;

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号