作者
Siwoo Song, Cheol Ryu, Simone Faro, Thierry Lecroq, Kunsoo Park
发表日期
2019
研讨会论文
String Processing and Information Retrieval: 26th International Symposium, SPIRE 2019, Segovia, Spain, October 7–9, 2019, Proceedings 26
页码范围
124-137
出版商
Springer International Publishing
简介
Cartesian tree matching is the problem of finding all substrings of a given text which have the same Cartesian trees as that of a given pattern. So far there is one linear-time solution for Cartesian tree matching, which is based on the KMP algorithm. We improve the running time of the previous solution by introducing new representations. We present the framework of a binary filtration method and an efficient verification technique for Cartesian tree matching. Any exact string matching algorithm can be used as a filtration for Cartesian tree matching on our framework. We also present a SIMD solution for Cartesian tree matching suitable for short patterns. By experiments we show that known string matching algorithms combined on our framework of binary filtration and efficient verification produce algorithms of good performances for Cartesian tree matching.
引用总数
2020202120222023312
学术搜索中的文章
S Song, C Ryu, S Faro, T Lecroq, K Park - String Processing and Information Retrieval: 26th …, 2019