An Order-Preserving Pattern Matching Algorithm using Fingerprints of Two q-grams 


Vol. 45,  No. 11, pp. 1111-1116, Nov.  2018
10.5626/JOK.2018.45.11.1111


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 that have the same relative orders as P. Recently, an O(nm+nqlogq+q!)-time order-preserving pattern matching algorithm was proposed that uses fingerprints of q-grams. In this paper, we propose an order-preserving pattern matching algorithm using the fingerprints of two q-grams to improve execution times. The experimental results for randomly generated T (n = 5,000,000) and P (m = 5,10,15) show that our algorithm runs up to approximately 12% faster than the previous algorithm. Also, for T using Dow Jones Industrial Average (n = 34,658) and P (m = 5,10,15) randomly extracted from T, our algorithm runs up to approximately 10% faster than the previous algorithm.


  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]

G. Yoo, Y. Kim, J. S. Sim, "An Order-Preserving Pattern Matching Algorithm using Fingerprints of Two q-grams," Journal of KIISE, JOK, vol. 45, no. 11, pp. 1111-1116, 2018. DOI: 10.5626/JOK.2018.45.11.1111.


[ACM Style]

Gwangmo Yoo, Youngho Kim, and Jeong Seop Sim. 2018. An Order-Preserving Pattern Matching Algorithm using Fingerprints of Two q-grams. Journal of KIISE, JOK, 45, 11, (2018), 1111-1116. DOI: 10.5626/JOK.2018.45.11.1111.


[KCI Style]

유광모, 김영호, 심정섭, "2개의 q-그램에 대한 핑거프린트를 이용한 순위패턴매칭알고리즘," 한국정보과학회 논문지, 제45권, 제11호, 1111~1116쪽, 2018. DOI: 10.5626/JOK.2018.45.11.1111.


[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