• Journal of Terahertz Science and Electronic Information Technology
  • Vol. 20, Issue 5, 492 (2022)
WEI Lihua1、*, GUAN Zhijin2, and ZHU Pengcheng1
Author Affiliations
  • 1[in Chinese]
  • 2[in Chinese]
  • show less
    DOI: 10.11805/tkyda2020126 Cite this Article
    WEI Lihua, GUAN Zhijin, ZHU Pengcheng. Reversible linear congruential generator[J]. Journal of Terahertz Science and Electronic Information Technology , 2022, 20(5): 492 Copy Citation Text show less

    Abstract

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