in reply to Re: Generic De Bruijn Sequence
in thread Generic De Bruijn Sequence

De Bruijn is supposed to be cyclic! AAACCCBCCACBBCBACABCAABBBABAA

Maybe, but practicality means it is far simpler and more efficient to repeat the end sequence than to wrap around.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit

Replies are listed 'Best First'.
Re^3: Generic De Bruijn Sequence
by LanX (Saint) on Apr 19, 2017 at 23:08 UTC
    Maybe in this case, but check the length of his results, either way they are inconsistent and hence wrong.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      but check the length of his results, either way they are inconsistent and hence wrong.

      I've only had need to explore DeBruijn with a binary alphabet, so I'll defer to your judgement.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
      In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit
        > ad need to explore DeBruijn with a binary alphabet,

        Binary alphabet seems easy, a bit of searching produced a "prefer ones" algorithm.

        From SO

        > Prefer Ones is quite simple: Write n zeros. Then, always write a one unless it would cause the repetition of an n-length string; otherwise, write a zero.

        HTH

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!