DOI QR코드

DOI QR Code

순위다중패턴매칭을 위한 해싱기반 알고리즘

A Hashing-Based Algorithm for Order-Preserving Multiple Pattern Matching

  • 강문성 (인하대학교 컴퓨터정보공학과) ;
  • 조석현 (인하대학교 컴퓨터정보공학과) ;
  • 심정섭 (인하대학교 컴퓨터정보공학과)
  • 투고 : 2015.06.12
  • 심사 : 2016.01.14
  • 발행 : 2016.05.15

초록

순위패턴매칭문제는 텍스트 T와 패턴 P가 주어질 때, P와 각 문자들의 순위가 동일한 순서로 나타나는 T의 모든 부분문자열을 찾는 문제이다. 순위패턴매칭문제는 주가지수분석과 음악의 유사성분석과 같이 문자 자체를 비교하는 것보다 값의 변화순서가 중요한 분야에서 연구가 진행되었다. 순위다중패턴매칭문제는 텍스트 T와 여러 개의 패턴들로 이루어진 패턴집합 $\mathbb{P}$가 주어질 때, $\mathbb{P}$에 속한 패턴과 각 문자들의 순위가 동일한 순서로 나타나는 T의 모든 부분문자열을 찾는 문제이다. 본 논문에서는 순위다중패턴매칭문제를 해결하는 해싱기반 알고리즘을 제시한다.

Given a text T and a pattern P, the order-preserving pattern matching problem is to find all substrings in T which have the same relative orders as P. The order-preserving pattern matching problem has been studied in terms of finding some patterns affected by relative orders, not by their absolute values. Given a text T and a pattern set $\mathbb{P}$, the order-preserving multiple pattern matching problem is to find all substrings in T which have the same relative orders as any pattern in $\mathbb{P}$. In this paper, we present a hashing-based algorithm for the order-preserving multiple pattern matching problem.

키워드

과제정보

연구 과제 주관 기관 : 한국연구재단

참고문헌

  1. D. E. Knuth, J. H. Morris, V. R. Pratt, "Fast pattern matching in strings," SIAM Journal on Computing, Vol. 6, No. 2, pp. 323-350, 1977. https://doi.org/10.1137/0206024
  2. R. S. Boyer, J. S. Moore, "A fast string searching algorithm," Communications of the ACM, Vol. 20, No. 10, pp. 767-772, 1977.
  3. A. V. Aho, M. J. Corasick, "Efficient string matching: an aid to bibliographic search," Communications of the ACM, Vol. 18, No. 6, pp. 333-340, 1975. https://doi.org/10.1145/360825.360855
  4. S. Wu, U. Manber, "A Fast Algorithm For Multi-Pattern Searching," Technical Report TR 94-17, University of Arizona at Tuscon, 1994.
  5. J. Kim, P. Eades, R. Fleischer, S. Hong, C. S. Iliopoulos, K. Park, S. J. Puglisi, T. Tokuyama, "Order Preserving Matching," Theoretical Computer Science, Vol. 525, pp. 68-79, 2014. https://doi.org/10.1016/j.tcs.2013.10.006
  6. S. Cho, J. C. Na, K. Park, J. S. Sim, "A fast algorithm for order-preserving pattern matching," Information Processing Letters, Vol. 115, No. 2, pp. 397-402, 2015. https://doi.org/10.1016/j.ipl.2014.10.018
  7. M. Kubica, T. Kulczynski, J. Radoszewski, W. Rytter, T. Walen, "A linear time algorithm for consecutive permutation pattern matching," Information Processing Letters, Vol. 113, No. 12, pp. 430-433, 2013. https://doi.org/10.1016/j.ipl.2013.03.015
  8. R. N. Horspool, "Practical fast searching in strings," Software: Practice and Experience, Vol. 10, No. 6, pp. 501-506, 1980. https://doi.org/10.1002/spe.4380100608
  9. S. H. Williamson, Daily Closing Values of the DJA in the United States, 1885 to Present, Measuring Worth, 2015 [Online]. Available: http://www.measuringworth.com/DJA/ (downloaded 2015, Nov. 1)
  10. T. Hirvola, J. Tarhio, "Order-Preserving Matching with Filtration," Experimental Algorithms, pp. 307-314, 2014.
  11. T. H. Cormen, C. E. Leiserson, R. L. Rivest, and C. Stein, Introduction to Algorithms, 3rd Ed., The MIT Press, 2009.