Skip to Main content Skip to Navigation
Journal articles

Gray Codes Generation Algorithm and Theoretical Evaluation of Random Walks in N-Cubes

Abstract : In previous works, some of the authors have proposed a canonical form of Gray Codes (GCs) in N-cubes (hypercubes of dimension N). This form allowed them to draw an algorithm that theoretically provides exactly all the GCs for a given dimension N. In another work, we first have shown that any of these GC can be used to build the transition function of a Pseudorandom Number Generator (PRNG). Also, we have found a theoretical quadratic upper bound of the mixing time, i.e., the number of iterations that are required to provide a PRNG whose output is uniform. This article, extends these two previous works both practically and theoretically. On the one hand, another algorithm for generating GCs is proposed that provides an efficient generation of subsets of the entire set of GCs related to a given dimension N. This offers a large choice of GC to be used in the construction of Choatic Iterations based PRNGs (CI-PRNGs), leading to a large class of possible PRNGs. On the other hand, the mixing time has been theoretically shown to be in N log(N), which was anticipated in the previous article, but not proven.
Complete list of metadata

Cited literature [27 references]  Display  Hide  Download

https://hal.inria.fr/hal-02063965
Contributor : Sylvain Contassot-Vivier <>
Submitted on : Monday, March 11, 2019 - 3:37:20 PM
Last modification on : Friday, April 2, 2021 - 3:35:51 AM
Long-term archiving on: : Wednesday, June 12, 2019 - 6:50:12 PM

File

GrayCodesGenerationAndRandomWa...
Files produced by the author(s)

Identifiers

Citation

Sylvain Contassot-Vivier, Jean-François Couchot, Pierre-Cyrille Héam. Gray Codes Generation Algorithm and Theoretical Evaluation of Random Walks in N-Cubes. Mathematics , MDPI, 2018, 6 (6), pp.14. ⟨10.3390/math6060098⟩. ⟨hal-02063965⟩

Share

Metrics

Record views

136

Files downloads

189