...
首页> 外文期刊>Algorithmica >Compressed Subsequence Matching and Packed Tree Coloring
【24h】

Compressed Subsequence Matching and Packed Tree Coloring

机译:压缩子序列匹配和压缩树着色

获取原文
获取原文并翻译 | 示例

摘要

We present a new algorithm for subsequence matching in grammar compressed strings. Given a grammar of size n compressing a string of size N and a pattern string of size m over an alphabet of size , our algorithm uses space and or time. Here w is the word size and occ is the number of minimal occurrences of the pattern. Our algorithm uses less space than previous algorithms and is also faster for occurrences. The algorithm uses a new data structure that allows us to efficiently find the next occurrence of a given character after a given position in a compressed string. This data structure in turn is based on a new data structure for the tree color problem, where the node colors are packed in bit strings.
机译:我们提出了一种新的算法,用于语法压缩字符串中的子序列匹配。给定大小为n的语法,将大小为N的字符串压缩为大小为m的模式字符串,并将大小为m的模式字符串压缩为size的字母,则我们的算法使用空间和/或时间。这里w是单词大小,occ是模式的最小出现次数。与以前的算法相比,我们的算法使用的空间更少,并且出现速度更快。该算法使用了一种新的数据结构,该结构使我们能够有效地找到压缩字符串中给定位置之后给定字符的下一次出现。该数据结构又基于针对树色问题的新数据结构,其中节点颜色打包在位字符串中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号