Abstract
BackgroundEfficient 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. MethodsIn 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. ResultsOur 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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Journal of Logical and Algebraic Methods in Programming
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.