Symposium on Discrete Algorithms · 2000 · 69 citations · 26 references
EngineeringInformation RetrievalData ScienceData MiningPattern RecognitionMismatches ProblemString-searching AlgorithmTime OKnowledge DiscoveryCombinatorial Pattern MatchingString ProcessingFaster AlgorithmsComputer SciencePattern MatchingCombinatorial OptimizationAbrahamson Algorithm
The string matching with mismatches problem is that of finding the number of mismatches between a pattern P of length m and every length m substring of the text T. Currently, the fastest algorithms for this problem are the following. The Galil-Giancarlo algorithm finds all locations where the pattern has at most k errors (where k is part of the input) in time O(nk). The Abrahamson algorithm finds the number of mismatches at every location in time O(n√ m log m). We present an algorithm that is faster than both. Our algorithm finds all locations where the pattern has at most k errors in time O(n√k log k). We also show an algorithm that solves the above problem in time O((n + (nk3)/m) log k).
26
Fast Pattern Matching in Strings
Donald E. Knuth, James H. Morris, Vaughan Pratt · SIAM Journal on Computing · 1977 · 2.9K citations
Engineering, Computational Complexity, Corpus Linguistics +19
Alfred V. Aho, Margaret J. Corasick · Communications of the ACM · 1975 · 2.9K citations · Full text
A fast string searching algorithm
Robert S. Boyer, J Strother Moore · Communications of the ACM · 1977 · 2.3K citations · Full text
Linear pattern matching algorithms
Peter Weiner · 1973 · 1.8K citations