Skip to main content
Log in

RVGEN: a tool for generation of random variates

  • Published:
Software - Concepts & Tools

Abstract

A number of applications in simulation and software testing require random number generation, both uniform and non-uniform. Although libraries are available for random number generation, there is no user-friendly tool to enable the user to use and build random number generators. This paper presents the RVGEN tool, developed at TRDDC. Using the tool, the software developer can design a random number generator specific to a particular pattern. The tool takes specifications at a high level and also partly in C++, and generates C++ code for a number of user-friendly functions. These include setting and getting of random variate parameters, GUIs for inputting parameters, validation of parameters, parameter input and output from a file, generation of random variate class declarations, generation of seeds for multiple streams, and testing of the random variate generator. The tool provides a number of classical, generalpurpose and empiric distributions by default.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Aho, A.V., Kerninghan, B.W., Weinberger, P.J.: The AWK programming language. Addison—Wesley, 1988

  2. Devroye, L.: Non-uniform Random Variate Generation. Springer-Verlag, 1986

  3. Eichenauer-Herrmann, J., Niederreiter, H.: On the statistical independence of nonlinear congruential pseudorandom numbers. ACM TOMACS 4(1): 89–95, 1994

    Article  MATH  Google Scholar 

  4. Eichenauer-Herrmann J., Niederreiter, H.: Digital inverse pseudorandom numbers. ACM TOMACS 4(4): 339–349, 1994

    Article  MATH  Google Scholar 

  5. Eichenauer-Herrmann, J., Grothe, H.: A new inverse congruential pseudorandom number generator with power of two modulus. ACM TOMACS 2(1): 1–11, 1992

    Article  Google Scholar 

  6. Fishwick, P.A.: A simulation environment for multimodeling. Discrete Event Dynamic Systems: Theory and Applications 3:151–171, 1993

    Article  Google Scholar 

  7. Junius, M., Steppler, M., Bäuter, M., Pesch, D.: CNCL: Communication Networks Class Library. Ed. 1.9, 1997

  8. Knuth, D.E.: The Art of Computer Programming: Vol. 2 Seminumerical Algorithms. 2nd ed. Addision Wesley, 1981

  9. L’Ecuyer, P.: Efficient and portable combined random number generation. CACM 31(6): 742–749, 774 (1988)

    Article  MathSciNet  Google Scholar 

  10. Lewis, P.A., Goodman, A.S., Miller, J.M.: A pseudo-random number generator for the System/360. IBM Syst. J. 8(2): 136–146, 1969

    Article  Google Scholar 

  11. Matsumoto, M., Nishimura, T. Mersenne Twister: A 623-dimensionally equidistributed uniform pseudo-random number generator. ACM TOMACS 8(1): 3–30, 1998

    Article  Google Scholar 

  12. Park, S.K., Meller, K.W.: Random number generators: good ones are hard to find. CACM 31(10): 1192–1201, 1988

    Article  Google Scholar 

  13. Sauer, C.H., Chandy, K.M.: Computer Systems Performance Modelling. Prentice Hall, 1981

  14. Schwetman, H.: Using CSIM to model complex systems. In Proc. Winter Simulation Conference. p. 246–253, 1988

  15. Swarm Development Group: SWARM Reference Guide. Sante Fe Institute, 1998

  16. Tezuka, S., L’Ecuyer, P.: Efficient and portable combined Tausworthe random number generators. ACM TOMACS 1(2): 99–112, 1991

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rajesh Mansharamani.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mansharamani, R., Kallepalli, P., Veerabhadraiah, H. et al. RVGEN: a tool for generation of random variates. Software - Concepts & Tools 19, 161–167 (2000). https://doi.org/10.1007/s003789900002

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s003789900002

Key words

Navigation