Skip to content

OOP project in C++ implementing various random number generators (ICG with KS test, MRG, LFG, Mid-Square) with user-input parameters for sequence generation and randomness testing.

Notifications You must be signed in to change notification settings

shimaanaser8/random-number-generator

Repository files navigation

Modeling RNG Project

This is a C++ object-oriented project that implements several Random Number Generators (RNGs) and allows users to input their own parameters. The project includes:

  • Inversive Congruential Generator (ICG) with Kolmogorov-Smirnov (KS) test for randomness.
  • Multiple Recursive Generator (MRG)
  • Lagged Fibonacci Generator (LFG)
  • Mid-Square Method (MSM)

Users can generate sequences and test their randomness interactively.

Features

  • Fully object-oriented design.
  • User can enter custom values instead of fixed parameters.
  • Implements standard RNG algorithms for simulation and modeling purposes.
  • Includes statistical testing (KS test) for ICG sequences.

About

OOP project in C++ implementing various random number generators (ICG with KS test, MRG, LFG, Mid-Square) with user-input parameters for sequence generation and randomness testing.

Topics

Resources

Stars

Watchers

Forks

Languages