Parallel Computation of Z-Function for Order-Preserving Pattern Matching and Order-Preserving Multiple Pattern Matching 


Vol. 45,  No. 8, pp. 778-785, Aug.  2018
10.5626/JOK.2018.45.8.778


PDF

  Abstract

Given a text T of length n and a pattern P of length m, the order-preserving pattern matching problem is to find all substrings in T which are order-isomorphic to P. Given a text T of length n and a set of patterns W={P₁, P₂,…, Pb}, the order-preserving multiple pattern matching problem is to find all substrings in T which are order-isomorphic to patterns of W. In this paper, we present two parallel algorithms based on the Z-function. The first algorithm for the order-preserving pattern matching problem runs in O(m) time using O(n+hm) threads and the second algorithm for the order-preserving multiple pattern matching problem runs in O(n+M) time using O(b(n+M)) threads, where h is the number of blocks and M is the length of the longest pattern in W. Experimental results show that our parallel algorithm for the order-preserving pattern matching problem is approximately 71.2 times faster than the sequential algorithm when m=10 and n=1,000,000, and that our parallel algorithm for the order-preserving multiple pattern matching problem is approximately 12.2 times faster than the sequential algorithm when b=1,000, m=10, and n=1,000.


  Statistics
Cumulative Counts from November, 2022
Multiple requests among the same browser session are counted as one view. If you mouse over a chart, the values of data points will be shown.


  Cite this article

[IEEE Style]

Y. Shin, Y. Kim, J. S. Sim, "Parallel Computation of Z-Function for Order-Preserving Pattern Matching and Order-Preserving Multiple Pattern Matching," Journal of KIISE, JOK, vol. 45, no. 8, pp. 778-785, 2018. DOI: 10.5626/JOK.2018.45.8.778.


[ACM Style]

Youkun Shin, Youngho Kim, and Jeong Seop Sim. 2018. Parallel Computation of Z-Function for Order-Preserving Pattern Matching and Order-Preserving Multiple Pattern Matching. Journal of KIISE, JOK, 45, 8, (2018), 778-785. DOI: 10.5626/JOK.2018.45.8.778.


[KCI Style]

신유건, 김영호, 심정섭, "Z-함수를 이용한 순위패턴매칭과 순위다중패턴매칭 병렬계산," 한국정보과학회 논문지, 제45권, 제8호, 778~785쪽, 2018. DOI: 10.5626/JOK.2018.45.8.778.


[Endnote/Zotero/Mendeley (RIS)]  Download


[BibTeX]  Download



Search




Journal of KIISE

  • ISSN : 2383-630X(Print)
  • ISSN : 2383-6296(Electronic)
  • KCI Accredited Journal

Editorial Office

  • Tel. +82-2-588-9240
  • Fax. +82-2-521-1352
  • E-mail. chwoo@kiise.or.kr