paper

GrappaRE -- A Tool for Efficient Graph Recognition Based on Finite Automata and Regular Expressions

arXiv:2503.20467 · doi:10.4204/EPTCS.417.4

Abstract

A recent paper by Drewes, Hoffmann, and Minas (GCM 2023 proceedings) has shown that certain graph languages can be defined and efficiently recognized by finite automata when strings over typed symbols are interpreted as graphs. This approach has been implemented in the tool GrappaRE, which is described in this paper. GrappaRE allows for the convenient specification of graph languages through regular expressions, converts each of them into a minimized deterministic finite automaton, and checks whether it can recognize graphs without the need for backtracking. Measurements confirm that recognition runs in linear time.

In Proceedings GCM 2023 and 2024, arXiv:2503.19632

GrappaRE -- A Tool for Efficient Graph Recognition Based on Finite Automata and Regular Expressions · wovepaper