A Simple Grammar-Based Index for Finding Approximately Longest Common Substrings
Abstract
We show how, given positive constants epsilon and delta, and an alpha-balanced straight-line program with g rules for a text T[1..n], we can build an O(g)-space index that, given a pattern P[1..m], in O(m log(delta) g) time finds w.h.p. a substring of P that occurs in T and whose length is at least a (1 - epsilon) fraction of the longest common substring of P and T. The correctness can be ensured within the same expected query time.
Más información
| Título según WOS: | A Simple Grammar-Based Index for Finding Approximately Longest Common Substrings |
| Título de la Revista: | GAMES AND LEARNING ALLIANCE, GALA 2024 |
| Volumen: | 14240 |
| Editorial: | SPRINGER INTERNATIONAL PUBLISHING AG |
| Fecha de publicación: | 2023 |
| Página de inicio: | 246 |
| Página final: | 252 |
| DOI: |
10.1007/978-3-031-43980-3_19 |
| Notas: | ISI |