Journal of Terahertz Science and Electronic Information Technology , Volume. 20, Issue 5, 492(2022)

Reversible linear congruential generator

WEI Lihua1、*, GUAN Zhijin2, and ZHU Pengcheng1
Author Affiliations
  • 1[in Chinese]
  • 2[in Chinese]
  • show less

    The recovery of random numbers is one of the key issues for the simulation system to realize the time traceability. The simulation system usually contains a large number of random numbers. In order to restore the system state at any time before, it is necessary to track and record the state evolution of the random number. This kind of tracking and recording work requires a great time and space cost. In order to solve the problem of random number recovery in the simulation system, based on the idea of reversible computation, a reversible linear congruential random number generator is proposed, and the random number generator is realized through the inverse function, general term formula, and inverse distribution function, respectively. It can not only generate random numbers in the forward direction, but also recover the previous random numbers in the reverse direction. The experimental results show that the reversible random number generator is superior to the current general checkpointing implementation in terms of overall space-time performance.

    Tools

    Get Citation

    Copy Citation Text

    WEI Lihua, GUAN Zhijin, ZHU Pengcheng. Reversible linear congruential generator[J]. Journal of Terahertz Science and Electronic Information Technology , 2022, 20(5): 492

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category:

    Received: Mar. 26, 2020

    Accepted: --

    Published Online: Aug. 14, 2022

    The Author Email: Lihua WEI (angelirene@163.com)

    DOI:10.11805/tkyda2020126

    Topics