Overview
BNDM is a bit-parallel string matching method for exact string matching. It works by matching backward with a nondeterministic automaton encoded as bit masks.
BNDM addresses exact string matching by matching backward with a nondeterministic automaton encoded as bit masks.
Compact metadata for implementation and discovery.
BNDM is a bit-parallel string matching method for exact string matching. It works by matching backward with a nondeterministic automaton encoded as bit masks.
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 matching backward with a nondeterministic automaton encoded as bit masks on a small exact string matching example.
BNDM operates in O(n + m) time and O(n + m) space within the Bit-Parallel String Matching family. Often compared with Bit-Parallel Levenshtein and Shift-And Algorithm.
What each reference supports for this entry.
String algorithms reference for BNDM's pattern matching, suffix indexing, alignment, or sequence-processing mechanism.
Open sourceTextbook support for BNDM's algorithm family, complexity framing, and standard implementation concepts.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Pattern Matching · Core
BNDM and Shift-And Algorithm are practical alternatives within exact string matching, with different assumptions and tradeoffs.
Compare with thisBNDM and Bit-Parallel Levenshtein are practical alternatives within exact string matching, with different assumptions and tradeoffs.
BNDM and Shift-And Algorithm are practical alternatives within exact string matching, with different assumptions and tradeoffs.
BNDM and Shift-Or Algorithm are practical alternatives within exact string matching, with different assumptions and tradeoffs.