2 research outputs found

    Loopless Algorithms to Generate Maximum Length Gray Cycles wrt. k-Character Substitution

    Full text link
    Given a binary word relation τ\tau onto A∗A^* and a finite language X⊆A∗X\subseteq A^*, a τ\tau-Gray cycle over XX consists in a permutation (w[i])0≤i≤∣X∣−1\left(w_{[i]}\right)_{0\le i\le |X|-1} of XX such that each word w[i]w_{[i]} is an image under τ\tau of the previous word w[i−1]w_{{[i-1]}}. We define the complexity measure λA,τ(n)\lambda_{A,\tau}(n), equal to the largest cardinality of a language XX having words of length at most nn, and s.t. some τ\tau-Gray cycle over XX exists. The present paper is concerned with τ=σk\tau=\sigma_k, the so-called kk-character substitution, s.t. (u,v)∈σk(u,v)\in\sigma_k holds if, and only if, the Hamming distance of uu and vv is kk. We present loopless (resp., constant amortized time) algorithms for computing specific maximum length \sigma_k$-Gray cycles.Comment: arXiv admin note: text overlap with arXiv:2108.1365

    Gray codes in graphs of subsets

    No full text
    corecore