AlgorithmsStringsEdit on GitHubEdit history
Commentz-Walter Algorithm
1979
A multi-pattern search algorithm that matches a trie of the reversed patterns from the right end of a text window and skips ahead with Boyer–Moore-style shift rules. On average it inspects only part of the text characters, and its shifts are bounded by the length of the shortest pattern.
Origin
Lineage
Parent algorithms
Reference workDescribed as a generalization of the Boyer–Moore shift rules to searching for several patterns at once. — doi:10.1007/3-540-09510-1_10
Reference workDescribed as combining an Aho–Corasick-style trie of the (reversed) patterns with Boyer–Moore-style skipping. — doi:10.1007/3-540-09510-1_10
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…