Affiliation:
1. European Bioinformatics Institute, Wellcome Genome Campus, Hinxton, United Kingdom
2. Department of Informatics, King’s College London, London, United Kingdom
Abstract
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 [Formula: see text] of length [Formula: see text], a text string [Formula: see text] of length [Formula: see text], both on a constant-sized alphabet of size [Formula: see text], and a cumulative weight threshold [Formula: see text], defined as the minimal probability of occurrence of factors in a weighted string, we present an on-line algorithm requiring average-case search time [Formula: see text] for pattern matching for weight ratio [Formula: see text]. For a pattern string [Formula: see text] of length [Formula: see text], a weighted text string [Formula: see text] of length [Formula: see text], both on a constant-sized alphabet, and a cumulative weight threshold [Formula: see text], we present an on-line algorithm requiring average-case search time [Formula: see text] 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.
Publisher
World Scientific Pub Co Pte Lt
Subject
Computer Science (miscellaneous)
Cited by
5 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献