Overview
Bit-Parallel Levenshtein is a approximate string matching method for edit distance. It works by packing dynamic-programming columns into machine words.
Bit-Parallel Levenshtein addresses edit distance by packing dynamic-programming columns into machine words.
Compact metadata for implementation and discovery.
Bit-Parallel Levenshtein is a approximate string matching method for edit distance. It works by packing dynamic-programming columns into machine words.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n + m)
Worst
O(n + m)
Space
O(n + m)
Show packing dynamic-programming columns into machine words on a small edit distance example.
Bit-Parallel Levenshtein operates in O(n + m) time and O(n + m) space within the Approximate String Matching family. Often compared with Shift-And Algorithm and Shift-Or Algorithm.
What each reference supports for this entry.
String algorithms reference for Bit-Parallel Levenshtein's pattern matching, suffix indexing, alignment, or sequence-processing mechanism.
Open sourceTextbook support for Bit-Parallel Levenshtein's algorithm family, complexity framing, and standard implementation concepts.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Pattern Matching · Core
Both address exact string matching, but they make different modeling or performance tradeoffs.
Compare with thisPattern Matching · Core
Both address longest common prefix array, but they make different modeling or performance tradeoffs.
Compare with thisPattern Matching · Core
Both address exact string matching, but they make different modeling or performance tradeoffs.
Compare with thisPattern Matching · Core
Prefix Function and Bit-Parallel Levenshtein solve related pattern preprocessing problems with different assumptions and tradeoffs.
Compare with thisBit-Parallel Levenshtein and Shift-And Algorithm are practical alternatives within edit distance, with different assumptions and tradeoffs.
Bit-Parallel Levenshtein and Shift-Or Algorithm are practical alternatives within edit distance, with different assumptions and tradeoffs.
Bit-Parallel Levenshtein and BNDM are practical alternatives within edit distance, with different assumptions and tradeoffs.