...
首页> 外文期刊>Journal of computer and system sciences >A new efficient indexing algorithm for one-dimensional real scaled patterns
【24h】

A new efficient indexing algorithm for one-dimensional real scaled patterns

机译:一种新的有效的一维实数缩放模式索引算法

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

获取外文期刊封面封底 >>

       

摘要

Given a pattern string P and a text string T, the one-dimensional real-scale pattern matching problem is to ask for all matched positions in T at which P occurs for some real scales ≥ 1. The real-scale indexing problem, which is derived from the real-scale matching problem, aims to preprocess T, so that all positions of scaled P in T can be answered efficiently. In this paper, we propose an improved algorithm for the real-scale indexing problem. For constant-sized alphabets, our preprocessing takes O(|T|~2) time and space, achieving the answering time O(|P| +w), where U_r denotes the number of matched positions and w ≤ U_r. For the case of large-sized alphabets, our preprocessing can still be implemented with O(|T|~2) time and space, while the answering time is slightly increased to O(|P| + w + log|T|). Compared to Wang's preprocessing algorithm with O(|T|~3) time, our new indexing algorithm is a significant improvement.
机译:给定一个模式字符串P和一个文本字符串T,一维实际比例模式匹配问题是要求对T中所有发生匹配的位置进行P匹配,其中某些实际比例≥1。实际比例索引问题是从真实比例匹配问题派生而来,其目的是对T进行预处理,以便可以有效地回答比例P在T中的所有位置。在本文中,我们提出了一种针对实数索引问题的改进算法。对于恒定大小的字母,我们的预处理需要O(| T | ~~ 2)的时间和空间,从而达到应答时间O(| P | + w),其中U_r表示匹配位置的数量,w≤U_r。对于大尺寸的字母,我们的预处理仍然可以用O(| T |〜2)的时间和空间来实现,而应答时间会稍微增加到O(| P | + w + log | T |)。与Wang的O(| T | ~~ 3)时间预处理算法相比,我们的新索引算法有了显着改进。

著录项

  • 来源
    《Journal of computer and system sciences》 |2012年第1期|p.273-278|共6页
  • 作者单位

    Department of Computer Science and Engineering, National Sun Yat-sen University, Kaohsiung, 80424, Taiwan;

    Department of Computer Science and Engineering, National Sun Yat-sen University, Kaohsiung, 80424, Taiwan;

    Department of Computer Science and Engineering, National Sun Yat-sen University, Kaohsiung, 80424, Taiwan;

    Department of Computer Science and Engineering, National Sun Yat-sen University, Kaohsiung, 80424, Taiwan;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    algorithm; string matching; preprocessing; real-scale;

    机译:算法;字符串匹配;预处理;实数;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号