首页> 外文会议>Annual European symposium on algorithms >Binary Jumbled Pattern Matching on Trees and Tree-Like Structures
【24h】

Binary Jumbled Pattern Matching on Trees and Tree-Like Structures

机译:树木和类似树的结构上的二进制混杂模式匹配

获取原文

摘要

Binary jumbled pattern matching asks to preprocess a binary string S in order to answer queries (i,j) which ask for a substring of S that is of length i and has exactly j 1-bits. This problem naturally generalizes to vertex-labeled trees and graphs by replacing "substring" with "connected subgraph". In this paper, we give an O(n~2/ log~2 n)-time solution for trees, matching the currently best bound for (the simpler problem of) strings. We also give an O(g~(2/3)n~(4/3)/(log n)~(4/3))-time solution for strings that are compressed by a grammar of size g. This solution improves the known bounds when the string is compressible under many popular compression schemes. Finally, we prove that the problem is fixed-parameter tractable with respect to the treewidth w of the graph, even for a constant number of different vertex-labels, thus improving the previous best n~(O(ω)) algorithm.
机译:二进制混杂模式匹配要求对二进制字符串S进行预处理,以便回答查询(i,j),该查询要求长度为i且精确地具有j个1位的S子字符串。通过将“子字符串”替换为“连接的子图”,此问题自然可以推广到带有顶点标记的树和图。在本文中,我们给出了树的O(n〜2 / log〜2 n)时间解,匹配了当前(最简单的问题)字符串的最佳边界。对于大小为g的语法压缩的字符串,我们还给出了O(g〜(2/3)n〜(4/3)/(log n)〜(4/3))-时间解。当字符串在许多流行的压缩方案下可压缩时,此解决方案将改善已知范围。最后,我们证明了即使对于恒定数量的不同顶点标签,该问题对于图的树宽w也是固定参数可处理的,从而改进了先前的最佳n〜(O(ω))算法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号