Adaptive Non-linear Pattern Matching Automata

11/27/2020
by   Rick Erkens, et al.
0

Efficient pattern matching is fundamental for practical term rewrite engines. By preprocessing the given patterns into a finite deterministic automaton the matching patterns can be decided in a single traversal of the relevant parts of the input term. Most automaton-based techniques are restricted to linear patterns, where each variable occurs at most once, and require an additional post-processing step to check so-called variable consistency. However, we can show that interleaving the variable consistency and pattern matching phases can reduce the number of required steps to find all matches. Therefore, we take the existing adaptive pattern matching automata as introduced by Sekar et al and extend these with consistency checks. We prove that the resulting deterministic pattern matching automaton is correct, and show several examples where some reduction can be achieved.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/17/2022

Term Rewriting Based On Set Automaton Matching

In previous work we have proposed an efficient pattern matching algorith...
research
10/18/2022

Deterministic vs. Non Deterministic Finite Automata in Automata Processing

Linear-time pattern matching engines have seen promising results using F...
research
03/18/2021

A geometrically adapted reduced set of frequencies for a FFT-based microstructure simulation

We present a modified model order reduction (MOR) technique for the FFT-...
research
07/15/2022

Matching Patterns with Variables Under Edit Distance

A pattern α is a string of variables and terminal letters. We say that α...
research
06/11/2021

Matching Patterns with Variables under Hamming Distance

A pattern α is a string of variables and terminal letters. We say that α...
research
02/05/2019

Unary Patterns of Size Four with Morphic Permutations

We investigate the avoidability of unary patterns of size of four with m...
research
07/28/2022

Engineering faster double-array Aho-Corasick automata

Multiple pattern matching in strings is a fundamental problem in text pr...

Please sign up or login with your details

Forgot password? Click here to reset