Fast Average-Case Pattern Matching on Weighted Sequences

被引:2
|
作者
Barton, Carl [1 ]
Liu, Chang [2 ]
Pissisy, Solon P. [2 ]
机构
[1] European Bioinformat Inst, Wellcome Genome Campus, Hinxton, England
[2] Kings Coll London, Dept Informat, London, England
关键词
Pattern matching; weighted strings; uncertain sequences; on-line algorithms; COMPUTATION;
D O I
10.1142/S0129054118430062
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A weighted string is a string in which a set of letters may occur at each position with respective occurrence probabilities. Weighted strings, also known as position weight matrices, weighted sequences or uncertain sequences, naturally arise in many contexts. In this paper, we study the problem of weighted string matching with a special focus on average-case analysis. Given a weighted pattern string x of length m, a text string y of length n > m, both on a constant-sized alphabet of size sigma, and a cumulative weight threshold 1/z, defined as the minimal probability of occurrence of factors in a weighted string, we present an on-line algorithm requiring average-case search time o(n) for pattern matching for weight ratio z/m < min{1/2 log z+1/z, log sigma/log z(log m+log log sigma)}. For a pattern string x of length m, a weighted text string y of length n > m, both on a constant-sized alphabet, and a cumulative weight threshold 1/z, we present an on-line algorithm requiring average-case search time o(n) for the same weight ratio. The importance of these algorithms lies on the fact that, for these ratios, they can work in sublinear search time in the size of the input text, and in linear preprocessing costs in the size of the pattern.
引用
收藏
页码:1331 / 1343
页数:13
相关论文
共 50 条
  • [31] AVERAGE-CASE LOWER BOUNDS FOR SEARCHING
    MCDIARMID, C
    SIAM JOURNAL ON COMPUTING, 1988, 17 (05) : 1044 - 1060
  • [32] Average-Case Analysis of Greedy Matching for D2D Resource Sharing
    Gao, Shuqin
    Courcoubetis, Costas
    Duan, Lingjie
    2021 19TH INTERNATIONAL SYMPOSIUM ON MODELING AND OPTIMIZATION IN MOBILE, AD HOC, AND WIRELESS NETWORKS (WIOPT), 2021,
  • [33] Average-Case Speedup for Product Formulas
    Chen, Chi-Fang
    Brandao, Fernando G. S. L.
    COMMUNICATIONS IN MATHEMATICAL PHYSICS, 2024, 405 (02)
  • [34] Distritrack: Automated average-case analysis
    Hickey, David
    FOURTH INTERNATIONAL CONFERENCE ON THE QUANTITATIVE EVALUATION OF SYSTEMS, 2007, : 213 - 214
  • [35] Average-case hardness of RIP certification
    Wang, Tengyao
    Berthet, Quentin
    Plan, Yaniv
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 29 (NIPS 2016), 2016, 29
  • [36] Distributional problems and the average-case complexity
    GROUP-BASED CRYPTOGRAPHY, 2008, : 99 - 115
  • [37] Average-Case Active Learning with Costs
    Guillory, Andrew
    Bilmes, Jeff
    ALGORITHMIC LEARNING THEORY, PROCEEDINGS, 2009, 5809 : 141 - 155
  • [38] AVERAGE-CASE RESULTS ON HEAPSORT.
    Carlsson, Svante
    BIT (Copenhagen), 1987, 27 (01): : 2 - 17
  • [39] Operational Quantum Average-Case Distances
    Maciejewski, Filip B.
    Puchala, Zbigniew
    Oszmaniec, Michal
    QUANTUM, 2023, 7
  • [40] The average-case complexity of determining the majority
    Alonso, L
    Reingold, EM
    Schott, R
    SIAM JOURNAL ON COMPUTING, 1997, 26 (01) : 1 - 14