Re: Direct Euler Cycle and de Brujin Sequence
- From: "eKo1" <berndlosert@xxxxxxxxxxxx>
- Date: 17 Oct 2006 22:26:28 -0700
Consequently, I can use this method to build a De Bruijn sequence of
order n > 1 right?
eKo1 wrote:
eKo1 wrote:
I understand now. Let s be the sequence derived from a Euler cycle in
G. Let x_1 x_2 ... x_n be an n-bit string. Is this string in s? Yes.
The sequence derived from the Euler cycle in G will produce both x_1
x_2 ... x_(n - 1) 0 and x_1 x_2 ... x_(n - 1) 1 by its construction and
since x_n has to be one of 0 or 1, then it follows that s is a de
Brujin sequence of order 3.
Here is a more rigorous proof:
Lemma 1. Vertices x_2 ... x_(n - 1) 0 and x_2 ... x_(n - 1) 1 are
adjacent to x_1 x_2 ... x_(n - 1).
Proof. This follows from the definition of G.
Corollary 1. x_1 x_2 ... x_(n - 1), x_2 ... x_(n - 1) 0 and x_1 x_2 ...
x_(n - 1), x_2 ... x_(n - 1) 1 form part of a directed Euler cycle in
G.
Proof. This follows from Lemma 1 and the definition of a Euler cycle.
Theorem 1. The sequence formed from the directed Euler cycle contains
x_1 x_2 ... x_(n - 1) x_n.
Proof. Suppose x_n = 0. Start the Euler cycle from x_1 x_2 ... x_(n -
1), x_2 ... x_(n - 1) 0. By definition, the sequence will start with
x_1 x_2 ... x_(n - 1) 0 which is x_1 x_2 ... x_(n - 1) x_n. The same
argument applies if x_n = 1.
.
- Follow-Ups:
- Re: Direct Euler Cycle and de Brujin Sequence
- From: Robby Goetschalckx
- Re: Direct Euler Cycle and de Brujin Sequence
- References:
- Direct Euler Cycle and de Brujin Sequence
- From: eKo1
- Re: Direct Euler Cycle and de Brujin Sequence
- From: Robby Goetschalckx
- Re: Direct Euler Cycle and de Brujin Sequence
- From: eKo1
- Re: Direct Euler Cycle and de Brujin Sequence
- From: eKo1
- Direct Euler Cycle and de Brujin Sequence
- Prev by Date: Re: Direct Euler Cycle and de Brujin Sequence
- Next by Date: Re: A Possible "solution" to the Halting Problem
- Previous by thread: Re: Direct Euler Cycle and de Brujin Sequence
- Next by thread: Re: Direct Euler Cycle and de Brujin Sequence
- Index(es):
Relevant Pages
|