Re: Direct Euler Cycle and de Brujin Sequence
- From: Robby Goetschalckx <robby@xxxxxxxxxxxxxx>
- Date: Tue, 17 Oct 2006 17:59:57 +0200
eKo1 wrote:
Robby Goetschalckx wrote:
Yes, I think so. The sequence from your Euler cycle is 0001011100. Every
edge corresponds to adding one symbol to the back of the sequence. To
create the sequence: write the start node of your graph, and then every
symbol which corresponds to the appropriate edges.
Check if it is a De Bruijn sequence:
000,001,010,011,100,101,110,111 are all in this sequence, so it is indeed
a De Bruijn sequence of order 3.
The proof in the general case is left as an exercise to the reader :-)
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.
Is that OK?
Yes, except that you miss-spelled 'De Bruijn' :-).
robby
.
- 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
- Direct Euler Cycle and de Brujin Sequence
- Prev by Date: Re: Direct Euler Cycle and de Brujin Sequence
- Next by Date: Re: Direct Euler Cycle and de Brujin Sequence
- 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
|