Graphs can be succinctly indexed for pattern matching in O(|E|^2 + |V|^5 / 2) time

11/08/2021
by   Nicola Cotumaccio, et al.
0

For the first time we provide a succinct pattern matching index for arbitrary graphs that can be built in polynomial time, which requires less space and answers queries more efficiently than the one in [SODA 2021]. We show that, given an edge-labeled graph G = (V, E), there exists a data structures of |E /_≤_G|(⌈log|Σ|⌉ + ⌈log q⌉ + 2)· (1+o(1)) + |V /_≤_G|· (1+o(1)) bits which can be built in O(|E|^2 + |V /_≤_G|^5 / 2) time and supports pattern matching on G in O(|P| · q^2 ·log(q· |Σ|)) time, where G /_≤_G = (V /_≤_G, E /_≤_G) is a quotient graph obtained by collapsing some nodes in G (so |V /_≤_G| ≤ |V| and |E /_≤_G| ≤ |E|) and q is the width of the maximum co-lex relation on G. Our results have relevant applications in automata theory. First, we can build a succinct data structure to decide whether a string is accepted by a given automaton. Second, starting from an automaton 𝒜, one can define a relation ≼_𝒜 and a quotient automaton that capture the nondeterminism of 𝒜, improving the results in [SODA 2021].

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/25/2022

PalFM-index: FM-index for Palindrome Pattern Matching

Palindrome pattern matching (pal-matching) problem is a generalized patt...
research
07/15/2020

On Indexing and Compressing Finite Automata

An index for a finite automaton is a powerful data structure that suppor...
research
11/22/2017

Compressed Indexing with Signature Grammars

The compressed indexing problem is to preprocess a string S of length n ...
research
11/03/2021

Linear-time Minimization of Wheeler DFAs

Wheeler DFAs (WDFAs) are a sub-class of finite-state automata which is p...
research
07/22/2019

Succinct Representation for (Non)Deterministic Finite Automata

Deterministic finite automata are one of the simplest and most practical...
research
12/21/2018

Offline timed pattern matching under uncertainty

Given a log and a specification, timed pattern matching aims at exhibiti...
research
11/24/2022

A fast and simple O (z log n)-space index for finding approximately longest common substrings

We describe how, given a text T [1..n] and a positive constant ϵ, we can...

Please sign up or login with your details

Forgot password? Click here to reset