用于与嵌套图条件进行增量图模式匹配的主机图敏感RETE网络

IF 0.7 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS
Matthias Barkowsky, Holger Giese
{"title":"用于与嵌套图条件进行增量图模式匹配的主机图敏感RETE网络","authors":"Matthias Barkowsky,&nbsp;Holger Giese","doi":"10.1016/j.jlamp.2022.100841","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><p>Efficient querying of large graph structures is a problem at the heart of several application domains such as social networks and model driven engineering. In particular in the context of model driven engineering, where the same query is executed frequently over an evolving graph structure, incremental techniques based on RETE nets are a popular solution. However, the construction of adequate RETE nets for a specific problem instance is a challenge in and of itself.</p></div><div><h3>Methods</h3><p>In this article, we propose an approach to RETE net construction for queries in the form of graph patterns equipped with nested graph conditions that considers not only the structure of the query, but also the structure of the host graph to improve the net's performance regarding execution time and memory consumption. Furthermore, we suggest a technique for adapting the net structure to changing host graph characteristics. We evaluate the presented concepts empirically based on queries and data from two independent benchmarks, using a mature tool for incremental graph pattern matching as a reference.</p></div><div><h3>Results</h3><p>Our evaluation results indicate that considering host graph structure during RETE net construction can improve performance of the resulting net. The experiments also demonstrate that adapting the net structure to changing host graph characteristics can be performed with an acceptable execution time overhead for our examples and may yield more adequate RETE nets. Overall, our approach never performed worse than the reference by more than factor 1.2 regarding execution time and achieved an improvement by up to factor 20.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"131 ","pages":"Article 100841"},"PeriodicalIF":0.7000,"publicationDate":"2023-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Host-graph-sensitive RETE nets for incremental graph pattern matching with nested graph conditions\",\"authors\":\"Matthias Barkowsky,&nbsp;Holger Giese\",\"doi\":\"10.1016/j.jlamp.2022.100841\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><h3>Background</h3><p>Efficient querying of large graph structures is a problem at the heart of several application domains such as social networks and model driven engineering. In particular in the context of model driven engineering, where the same query is executed frequently over an evolving graph structure, incremental techniques based on RETE nets are a popular solution. However, the construction of adequate RETE nets for a specific problem instance is a challenge in and of itself.</p></div><div><h3>Methods</h3><p>In this article, we propose an approach to RETE net construction for queries in the form of graph patterns equipped with nested graph conditions that considers not only the structure of the query, but also the structure of the host graph to improve the net's performance regarding execution time and memory consumption. Furthermore, we suggest a technique for adapting the net structure to changing host graph characteristics. We evaluate the presented concepts empirically based on queries and data from two independent benchmarks, using a mature tool for incremental graph pattern matching as a reference.</p></div><div><h3>Results</h3><p>Our evaluation results indicate that considering host graph structure during RETE net construction can improve performance of the resulting net. The experiments also demonstrate that adapting the net structure to changing host graph characteristics can be performed with an acceptable execution time overhead for our examples and may yield more adequate RETE nets. Overall, our approach never performed worse than the reference by more than factor 1.2 regarding execution time and achieved an improvement by up to factor 20.</p></div>\",\"PeriodicalId\":48797,\"journal\":{\"name\":\"Journal of Logical and Algebraic Methods in Programming\",\"volume\":\"131 \",\"pages\":\"Article 100841\"},\"PeriodicalIF\":0.7000,\"publicationDate\":\"2023-02-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Logical and Algebraic Methods in Programming\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S2352220822000943\",\"RegionNum\":4,\"RegionCategory\":\"数学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Logical and Algebraic Methods in Programming","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2352220822000943","RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

摘要

背景大型图结构的高效查询是社交网络和模型驱动工程等几个应用领域的核心问题。特别是在模型驱动工程的背景下,在不断发展的图结构上频繁执行相同的查询,基于RETE网络的增量技术是一种流行的解决方案。然而,为一个具体的问题实例建立适当的RETE网络本身就是一个挑战。方法在本文中,我们提出了一种以带有嵌套图条件的图模式的形式为查询构建RETE网络的方法,该方法不仅考虑了查询的结构,还考虑了主机图的结构,以提高网络在执行时间和内存消耗方面的性能。此外,我们提出了一种使网络结构适应主机图特征变化的技术。我们基于来自两个独立基准的查询和数据,使用一个成熟的增量图模式匹配工具作为参考,对所提出的概念进行了实证评估。结果我们的评估结果表明,在RETE网络构建过程中考虑主机图结构可以提高网络的性能。实验还表明,对于我们的示例,可以在可接受的执行时间开销下执行网络结构以适应不断变化的主机图特性,并且可以产生更充分的RETE网络。总的来说,我们的方法在执行时间方面从未比参考差过1.2倍,并实现了高达20倍的改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Host-graph-sensitive RETE nets for incremental graph pattern matching with nested graph conditions

Background

Efficient querying of large graph structures is a problem at the heart of several application domains such as social networks and model driven engineering. In particular in the context of model driven engineering, where the same query is executed frequently over an evolving graph structure, incremental techniques based on RETE nets are a popular solution. However, the construction of adequate RETE nets for a specific problem instance is a challenge in and of itself.

Methods

In this article, we propose an approach to RETE net construction for queries in the form of graph patterns equipped with nested graph conditions that considers not only the structure of the query, but also the structure of the host graph to improve the net's performance regarding execution time and memory consumption. Furthermore, we suggest a technique for adapting the net structure to changing host graph characteristics. We evaluate the presented concepts empirically based on queries and data from two independent benchmarks, using a mature tool for incremental graph pattern matching as a reference.

Results

Our evaluation results indicate that considering host graph structure during RETE net construction can improve performance of the resulting net. The experiments also demonstrate that adapting the net structure to changing host graph characteristics can be performed with an acceptable execution time overhead for our examples and may yield more adequate RETE nets. Overall, our approach never performed worse than the reference by more than factor 1.2 regarding execution time and achieved an improvement by up to factor 20.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Journal of Logical and Algebraic Methods in Programming
Journal of Logical and Algebraic Methods in Programming COMPUTER SCIENCE, THEORY & METHODS-LOGIC
CiteScore
2.60
自引率
22.20%
发文量
48
期刊介绍: The Journal of Logical and Algebraic Methods in Programming is an international journal whose aim is to publish high quality, original research papers, survey and review articles, tutorial expositions, and historical studies in the areas of logical and algebraic methods and techniques for guaranteeing correctness and performability of programs and in general of computing systems. All aspects will be covered, especially theory and foundations, implementation issues, and applications involving novel ideas.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信