Recursive graph pattern matching: (With magic sets and global search plans)

Gergely Varró, Ákos Horváth, Dániel Varró · 2008

Abstract. We present core data structures and algorithms for matching graph patterns with general recursion. Our approach uses magic sets, a well-known technique from deductive databases, which combines fixpoint-based bottom-up query evaluation with top-down handling of input parameters. Furthermore, this technique is enhanced with the global search plans, thus non-recursive calls are always flattened before elementary pattern matching operations are initiated in order to improve performance. Our approach is exemplified using VIATRA2. 1

Read the paper · More papers on PaperTik