IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v6y2018i6p98-d151517.html
   My bibliography  Save this article

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

Author

Listed:
  • Sylvain Contassot-Vivier

    (Laboratoire Lorrain de Recherche en Informatique et ses Applications (LORIA), UMR 7503, Université de Lorraine, F-54506 Vandoeuvre-lès-Nancy, France)

  • Jean-François Couchot

    (FEMTO-ST Institute, UMR 6174, Université Bourgogne Franche-Comté, 19 Av. du Maréchal Juin, F-90000 Belfort, France)

  • Pierre-Cyrille Héam

    (FEMTO-ST Institute, UMR 6174, Université Bourgogne Franche-Comté, 19 Av. du Maréchal Juin, F-90000 Belfort, France)

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.

Suggested Citation

  • Sylvain Contassot-Vivier & Jean-François Couchot & Pierre-Cyrille Héam, 2018. "Gray Codes Generation Algorithm and Theoretical Evaluation of Random Walks in N-Cubes," Mathematics, MDPI, vol. 6(6), pages 1-16, June.
  • Handle: RePEc:gam:jmathe:v:6:y:2018:i:6:p:98-:d:151517
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/6/6/98/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/6/6/98/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:6:y:2018:i:6:p:98-:d:151517. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.