Indexing Finite-State Automata Using Forward-Stable Partitions

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Becker, Ruben, Kim, Sung-Hwan, Prezza, Nicola, Tosoni, Carlo
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913377818771456
author Becker, Ruben
Kim, Sung-Hwan
Prezza, Nicola
Tosoni, Carlo
author_facet Becker, Ruben
Kim, Sung-Hwan
Prezza, Nicola
Tosoni, Carlo
contents An index on a finite-state automaton is a data structure able to locate specific patterns on the automaton's paths and consequently on the regular language accepted by the automaton itself. Cotumaccio and Prezza [SODA '21], introduced a data structure able to solve pattern matching queries on automata, generalizing the famous FM-index for strings of Ferragina and Manzini [FOCS '00]. The efficiency of their index depends on the width of a particular partial order of the automaton's states, the smaller the width of the partial order, the faster is the index. However, computing the partial order of minimal width is NP-hard. This problem was mitigated by Cotumaccio [DCC '22], who relaxed the conditions on the partial order, allowing it to be a partial preorder. This relaxation yields the existence of a unique partial preorder of minimal width that can be computed in polynomial time. In the paper at hand, we present a new class of partial preorders and show that they have the following useful properties: (i) they can be computed in polynomial time, (ii) their width is never larger than the width of Cotumaccio's preorders, and (iii) there exist infinite classes of automata on which the width of Cotumaccio's pre-order is linearly larger than the width of our preorder.
format Preprint
id arxiv_https___arxiv_org_abs_2406_02763
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Indexing Finite-State Automata Using Forward-Stable Partitions
Becker, Ruben
Kim, Sung-Hwan
Prezza, Nicola
Tosoni, Carlo
Formal Languages and Automata Theory
Data Structures and Algorithms
An index on a finite-state automaton is a data structure able to locate specific patterns on the automaton's paths and consequently on the regular language accepted by the automaton itself. Cotumaccio and Prezza [SODA '21], introduced a data structure able to solve pattern matching queries on automata, generalizing the famous FM-index for strings of Ferragina and Manzini [FOCS '00]. The efficiency of their index depends on the width of a particular partial order of the automaton's states, the smaller the width of the partial order, the faster is the index. However, computing the partial order of minimal width is NP-hard. This problem was mitigated by Cotumaccio [DCC '22], who relaxed the conditions on the partial order, allowing it to be a partial preorder. This relaxation yields the existence of a unique partial preorder of minimal width that can be computed in polynomial time. In the paper at hand, we present a new class of partial preorders and show that they have the following useful properties: (i) they can be computed in polynomial time, (ii) their width is never larger than the width of Cotumaccio's preorders, and (iii) there exist infinite classes of automata on which the width of Cotumaccio's pre-order is linearly larger than the width of our preorder.
title Indexing Finite-State Automata Using Forward-Stable Partitions
topic Formal Languages and Automata Theory
Data Structures and Algorithms
url https://arxiv.org/abs/2406.02763