Parallel algorithm for pattern matching problems under substring consistent equivalence relations

02/27/2022
by   Davaajav Jargalsaikhan, et al.
0

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 ≈ is a substring consistent equivalence relation (SCER), if for two strings X,Y, X ≈ Y implies |X| = |Y| and X[i:j] ≈ Y[i:j] for all 1 ≤ i ≤ j ≤ |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(ξ_m^tlog^3 m) time and O(ξ_m^w· n log^2 m) work, with O(τ_n^t + ξ_m^tlog^2 m) time and O(τ_n^w + ξ_m^w· m log^2 m) work preprocessing on the Priority Concurrent Read Concurrent Write Parallel Random-Access Machines (P-CRCW PRAM).

READ FULL TEXT

page 1

page 17

research
09/17/2019

Generalized Dictionary Matching under Substring Consistent Equivalence Relations

Given a set of patterns called a dictionary and a text, the dictionary m...
research
06/28/2023

Approximate Cartesian Tree Matching: an Approach Using Swaps

Cartesian tree pattern matching consists of finding all the factors of a...
research
08/25/2022

Coarser Equivalences for Concurrent Program Runs

Trace theory is a framework for designing equivalence relations for conc...
research
03/10/2018

Efficient Determination of Equivalence for Encrypted Data

Secure computation of equivalence has fundamental application in many di...
research
03/21/2020

Hidden Words Statistics for Large Patterns

We study here the so called subsequence pattern matching also known as h...
research
08/05/2019

Heuristic Algorithm for Generalized Function Matching

The problem of generalized function matching can be defined as follows: ...
research
07/17/2022

On the Practical Power of Automata in Pattern Matching

The classical pattern matching paradigm is that of seeking occurrences o...

Please sign up or login with your details

Forgot password? Click here to reset