Computer Science > Data Structures and Algorithms
[Submitted on 27 Feb 2022 (v1), last revised 27 Jul 2022 (this version, v3)]
Title:Parallel algorithm for pattern matching problems under substring consistent equivalence relations
View PDFAbstract:Given a text and a pattern over an alphabet, the pattern matching problem searches for all occurrences of the pattern in the text. An equivalence relation $\approx$ is called a substring consistent equivalence relation (SCER), if for two strings $X$ and $Y$, $X \approx Y$ implies $|X| = |Y|$ and $X[i:j] \approx Y[i:j]$ for all $1 \le i \le j \le |X|$. In this paper, we propose an efficient parallel algorithm for pattern matching under any SCER using the"duel-and-sweep" paradigm. For a pattern of length $m$ and a text of length $n$, our algorithm runs in $O(\xi_m^\mathrm{t} \log^2 m)$ time and $O(\xi_m^\mathrm{w} \cdot n \log^2 m)$ work, with $O(\tau_n^\mathrm{t} + \xi_m^\mathrm{t} \log^2 m)$ time and $O(\tau_n^\mathrm{w} + \xi_m^\mathrm{w} \cdot m \log^2 m)$ work preprocessing on the Priority Concurrent Read Concurrent Write Parallel Random-Access Machines (P-CRCW PRAM).
Submission history
From: Ryo Yoshinaka [view email][v1] Sun, 27 Feb 2022 03:48:07 UTC (850 KB)
[v2] Thu, 28 Apr 2022 00:13:37 UTC (123 KB)
[v3] Wed, 27 Jul 2022 10:10:00 UTC (124 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.