arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2008.11858cs.SEcs.IR
收藏

MAR:基于结构的模型搜索引擎

MAR: A structure-based search engine for models

José Antonio Hernández López, Jesús Sánchez Cuadrado

摘要:

共享软件模型的可用性为重用、适应和学习它们提供了机会。公共模型通常存储在各种位置,包括模型存储库、常规源代码存储库、网页等。为了从中获利,开发人员需要有效的搜索机制来定位与其任务相关的模型。然而,迄今为止,在创建专门针对建模领域的通用且高效的搜索引擎方面几乎没有成功。在本文中,我们提出了MAR,一个搜索引擎的模型。MAR是通用的,因为它可以索引任何类型的模型,如果它的元模型是已知的。MAR使用一种按示例查询的方法,也就是说,它使用示例模型作为查询。搜索使用路径包的概念考虑模型结构,路径包使用模型元素之间的路径对模型的结构进行编码,并且是一种适合索引的表示。MAR是在HBase上构建的,使用特定的设计来处理大型存储库。我们的基准测试表明,该引擎是有效的,并在大多数情况下具有快速的响应时间。我们还通过创建模拟用户查询的模型突变体来评估搜索引擎的精度。REST API可用于执行查询,Eclipse插件允许最终用户从模型编辑器连接到搜索引擎。我们目前已经索引了超过50,000种不同类型的模型,包括Ecore元模型,BPMN图和UML模型。MAR可在http://mar-search.org上获得。

英文摘要:

The availability of shared software models provides opportunities for reusing, adapting and learning from them. Public models are typically stored in a variety of locations, including model repositories, regular source code repositories, web pages, etc. To profit from them developers need effective search mechanisms to locate the models relevant for their tasks. However, to date, there has been little success in creating a generic and efficient search engine specially tailored to the modelling domain. In this paper we present MAR, a search engine for models. MAR is generic in the sense that it can index any type of model if its meta-model is known. MAR uses a query-by-example approach, that is, it uses example models as queries. The search takes the model structure into account using the notion of bag of paths, which encodes the structure of a model using paths between model elements and is a representation amenable for indexing. MAR is built over HBase using a specific design to deal with large repositories. Our benchmarks show that the engine is efficient and has fast response times in most cases. We have also evaluated the precision of the search engine by creating model mutants which simulate user queries. A REST API is available to perform queries and an Eclipse plug-in allows end users to connect to the search engine from model editors. We have currently indexed more than 50.000 models of different kinds, including Ecore meta-models, BPMN diagrams and UML models. MAR is available at http://mar-search.org.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑