String Matching with Variable Length Gaps
Philip Bille, Inge Li Goertz, Hjalte Wedel Vildh{\o}j, David Kofoed, Wind

TL;DR
This paper introduces an efficient, simple algorithm for string matching with variable length gaps, optimizing time and space complexity for applications like computational biology.
Contribution
It presents a new algorithm that achieves near-optimal time and space bounds for pattern matching with variable length gaps, improving upon previous methods.
Findings
Achieves time complexity O(n log k + m + α)
Uses space O(m + A) where A is gap length sum
Provides algorithms for position finding and encoding
Abstract
We consider string matching with variable length gaps. Given a string and a pattern consisting of strings separated by variable length gaps (arbitrary strings of length in a specified range), the problem is to find all ending positions of substrings in that match . This problem is a basic primitive in computational biology applications. Let and be the lengths of and , respectively, and let be the number of strings in . We present a new algorithm achieving time and space , where is the sum of the lower bounds of the lengths of the gaps in and is the total number of occurrences of the strings in within . Compared to the previous results this bound essentially achieves the best known time and space complexities simultaneously. Consequently, our algorithm obtains the best known bounds for almost…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Genomics and Phylogenetic Studies · RNA and protein synthesis mechanisms
