Publications

Detailed Information

Fast multiple pattern cartesian tree matching

Cited 1 time in Web of Science Cited 4 time in Scopus
Authors

Gu, Geonmo; Song, Siwoo; Faro, Simone; Lecroq, Thierry; Park, Kunsoo

Issue Date
2020-01
Publisher
Springer Verlag
Citation
Lecture Notes in Computer Science, Vol.12049 LNCS, pp.107-119
Abstract
© Springer Nature Switzerland AG 2020.Cartesian tree matching is the problem of finding all substrings in a given text which have the same Cartesian trees as that of a given pattern. In this paper, we deal with Cartesian tree matching for the case of multiple patterns. We present two fingerprinting methods, i.e., the parent-distance encoding and the binary encoding. By combining an efficient fingerprinting method and a conventional multiple string matching algorithm, we can efficiently solve multiple pattern Cartesian tree matching. We propose three practical algorithms for multiple pattern Cartesian tree matching based on the Wu-Manber algorithm, the Rabin-Karp algorithm, and the Alpha Skip Search algorithm, respectively. In the experiments we compare our solutions against the previous algorithm [18]. Our solutions run faster than the previous algorithm as the pattern lengths increase. Especially, our algorithm based on Wu-Manber runs up to 33 times faster.
ISSN
0302-9743
URI
https://hdl.handle.net/10371/186081
DOI
https://doi.org/10.1007/978-3-030-39881-1_10
Files in This Item:
There are no files associated with this item.
Appears in Collections:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share