pith. sign in

arxiv: 1801.10091 · v2 · pith:6LY5AYL6new · submitted 2018-01-30 · 💻 cs.DM

An Efficient Generalized Shift-Rule for the Prefer-Max De Bruijn Sequence

classification 💻 cs.DM
keywords bruijnsequenceshift-rulegeneralized-shift-ruleoptimaltimeconstructprefer-max
0
0 comments X
read the original abstract

One of the fundamental ways to construct De Bruijn sequences is by using a shift-rule. A shift-rule receives a word as an argument and computes the symbol that appears after it in the sequence. An optimal shift-rule for an $(n,k)$-De Bruijn sequence runs in time $O(n)$. We propose an extended notion we name a generalized-shift-rule, which receives a word, $w$, and an integer, $c$, and outputs the $c$ symbols that comes after $w$. An optimal generalized-shift-rule for an $(n,k)$-De Bruijn sequence runs in time $O(n+c)$. We show that, unlike in the case of a shift-rule, a time optimal generalized-shift-rule allows to construct the entire sequence efficiently. We provide a time optimal generalized-shift-rule for the well-known prefer-max and prefer-min De Bruijn sequences.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.