arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1606.05724cs.DS
收藏

一种保序模式匹配的紧凑索引

A Compact Index for Order-Preserving Pattern Matching

Gianni Decaroli, Travis Gagie, Giovanni Manzini

摘要:

保序模式匹配是近年来提出的一种新的模式匹配方法,但它已经引起了人们的广泛关注。给定一个引用序列和一个模式,我们想定位引用序列的所有子串,这些子串的元素与模式元素具有相同的相对顺序。对于这个问题,我们考虑离线版本中,我们建立一个索引的参考序列,以便后续的搜索可以非常有效地完成。我们提出了一个空间有效的索引,在实践中工作良好,尽管它缺乏良好的最坏情况下的时间界限。我们的解决方案是基于新的方法分解的索引序列的顺序组件,包含排序信息,和一个增量组件,包含信息的绝对值。实验表明,该方法是可行的,比现有的替代品,它是第一个同时提供小空间使用和快速检索。

英文摘要:

Order-preserving pattern matching was introduced recently but it has already attracted much attention. Given a reference sequence and a pattern, we want to locate all substrings of the reference sequence whose elements have the same relative order as the pattern elements. For this problem we consider the offline version in which we build an index for the reference sequence so that subsequent searches can be completed very efficiently. We propose a space-efficient index that works well in practice despite its lack of good worst-case time bounds. Our solution is based on the new approach of decomposing the indexed sequence into an order component, containing ordering information, and a delta component, containing information on the absolute values. Experiments show that this approach is viable, faster than the available alternatives, and it is the first one offering simultaneously small space usage and fast retrieval.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑