adamjgnoel / AcCoRD

Actor-based Communication via Reaction-Diffusion. A molecular communication simulator. Simulates stochastic reaction-diffusion systems.
https://warwick.ac.uk/adamnoel/software/accord/
Other
12 stars 4 forks source link

Try out PCG RNG #38

Closed adamjgnoel closed 8 years ago

adamjgnoel commented 8 years ago

The author of the RNG that is used by AcCoRD has suggested taking a look at another RNG, specifically the PCG. That RNG is supposed to be faster and have better statistical properties than the Mersenne Twister. Sample code is available to implement it in C.

adamjgnoel commented 8 years ago

Mersenne twister has been replaced with PCG. Furthermore, all calls to random number generation functions have been centralized in a single source file.

PCG is quite compact and is licensed under Apache.