A Compact Index for Cartesian Tree Matching
A Compact Index for Cartesian Tree Matching
复制标题
笛卡尔树匹配的紧凑索引
DOI:
--
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Hwan
中科院分区:
文献类型:
--
作者:
Sung;Hwan
Cartesian tree matching is a recently introduced string matching problem in which two strings match if their corresponding Cartesian trees are the same. It is considered appropriate to find patterns regarding their shapes especially in numerical time series data. While many related problems have been addressed, developing a compact index has received relatively less attention. In this paper, we present a 3n + o(n)-bit index that can count the number of occurrences of a Cartesian tree pattern in O(m) time where n and m are the text and pattern length. To the best of our knowledge, this work is the first O(n)-bit compact data structure for indexing for this problem. 2012 ACM Subject Classification Theory of computation → Pattern matching