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

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 thes...

Full description

Bibliographic Details
Main Authors: Sylvain Contassot-Vivier, Jean-François Couchot, Pierre-Cyrille Héam
Format: Article
Language:English
Published: MDPI AG 2018-06-01
Series:Mathematics
Subjects:
Online Access:http://www.mdpi.com/2227-7390/6/6/98
Description
Summary: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 Nlog(N), which was anticipated in the previous article, but not proven.
ISSN:2227-7390