Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Parallel algorithm for pattern matching problems under substring consistent equivalence relations

Published 27 Feb 2022 in cs.DS | (2202.13284v3)

Abstract: 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 XX and YY, X≈YX \approx Y implies ∣X∣=∣Y∣|X| = |Y| and X[i:j]≈Y[i:j]X[i:j] \approx Y[i:j] for all 1≤i≤j≤∣X∣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 mm and a text of length nn, our algorithm runs in O(ξmtlog⁡2m)O(\xi_m^\mathrm{t} \log^2 m) time and O(ξmw⋅nlog⁡2m)O(\xi_m^\mathrm{w} \cdot n \log^2 m) work, with O(τnt+ξmtlog⁡2m)O(\tau_n^\mathrm{t} + \xi_m^\mathrm{t} \log^2 m) time and O(τnw+ξmw⋅mlog⁡2m)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).

Citations (5)

Summary

No one has generated a summary of this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.