In
graph theory
In mathematics, graph theory is the study of ''graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
, an -dimensional De Bruijn graph of symbols is a
directed graph
In mathematics, and more specifically in graph theory, a directed graph (or digraph) is a graph that is made up of a set of vertices connected by directed edges, often called arcs.
Definition
In formal terms, a directed graph is an ordered pa ...
representing overlaps between sequences of symbols. It has
vertices, consisting of all possible sequences of the given symbols; the same symbol may appear multiple times in a sequence. For a
set of symbols the set of vertices is:
:
If one of the vertices can be expressed as another vertex by shifting all its symbols by one place to the left and adding a new symbol at the end of this vertex, then the latter has a directed edge to the former vertex. Thus the set of arcs (that is, directed edges) is
:
Although De Bruijn graphs are named after
Nicolaas Govert de Bruijn, they were discovered independently by both De Bruijn
and
I. J. Good.
Much earlier, Camille Flye Sainte-Marie
implicitly used their properties.
Properties
* If , then the condition for any two vertices forming an edge holds
vacuously, and hence all the vertices are connected, forming a total of edges.
* Each vertex has exactly incoming and outgoing edges.
* Each -dimensional De Bruijn graph is the
line digraph of the De Bruijn graph with the same set of symbols.
* Each De Bruijn graph is
Eulerian and
Hamiltonian
Hamiltonian may refer to:
* Hamiltonian mechanics, a function that represents the total energy of a system
* Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system
** Dyall Hamiltonian, a modified Hamiltonian ...
. The Euler cycles and Hamiltonian cycles of these graphs (equivalent to each other via the line graph construction) are
De Bruijn sequence
In combinatorial mathematics, a de Bruijn sequence of order ''n'' on a size-''k'' alphabet ''A'' is a cyclic sequence in which every possible length-''n'' string on ''A'' occurs exactly once as a substring (i.e., as a ''contiguous'' subseq ...
s.
The
line graph
In the mathematical discipline of graph theory, the line graph of an undirected graph is another graph that represents the adjacencies between edges of . is constructed in the following way: for each edge in , make a vertex in ; for every ...
construction of the three smallest binary De Bruijn graphs is depicted below. As can be seen in the illustration, each vertex of the -dimensional De Bruijn graph corresponds to an edge of the De Bruijn graph, and each edge in the -dimensional De Bruijn graph corresponds to a two-edge path in the De Bruijn graph.
Dynamical systems
Binary De Bruijn graphs can be drawn in such a way that they resemble objects from the theory of
dynamical system
In mathematics, a dynamical system is a system in which a function describes the time dependence of a point in an ambient space. Examples include the mathematical models that describe the swinging of a clock pendulum, the flow of water in ...
s, such as the
Lorenz attractor:
This analogy can be made rigorous: the -dimensional -symbol De Bruijn graph is a model of the
Bernoulli map
The dyadic transformation (also known as the dyadic map, bit shift map, 2''x'' mod 1 map, Bernoulli map, doubling map or sawtooth map) is the mapping (i.e., recurrence relation)
: T: , 1) \to
:
The_Bernoulli_map_(also_called_the__map_for_)_is_an_ergodic">,_1)^\infty
:_x_\mapsto_(x_0,_x_1,_x_2,__...
The_Bernoulli_map_(also_called_the__map_for_)_is_an_ergodic_dynamical_system,_which_can_be_understood_to_be_a_single_