English

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

Formal Languages and Automata Theory 2025-03-27 v1

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.

Keywords

Cite

@article{arxiv.2503.20467,
  title  = {GrappaRE -- A Tool for Efficient Graph Recognition Based on Finite Automata and Regular Expressions},
  author = {Mattia De Rosa and Mark Minas},
  journal= {arXiv preprint arXiv:2503.20467},
  year   = {2025}
}

Comments

In Proceedings GCM 2023 and 2024, arXiv:2503.19632

R2 v1 2026-06-28T22:35:03.242Z