- De Bruijn digraph
The vertices of the de Bruijn digraph are all possible words of length chosen from an alphabet of size .
has edges consisting of each possible word of length from an alphabet of size . The edge connects the vertex to the vertex .
For example, could be drawn as:
Notice that an
Euler cycle on represents a shortest sequence of characters from an alphabet of size that includes every possible subsequence of characters. For example, the sequence includes all 4-bit subsequences. Any de Bruijn digraph must have an Euler cycle, since each vertex hasin degree and out degree of .
Wikimedia Foundation. 2010.