Add some knobs to our RNG class

Also included is an additive lagged fibonacci generator that should is
very similar to EQ's. Also added BIASED_INT_DIST in case someone wants
to use "bad" int distribution to more closely match EQ as well.

An option to set a custom engine (just in case people would like to play
with other std engines) is available.

There is also support for GCC's SIMD accelerated extension to std random
engines.

All these options are hidden behind advanced options in CMake since
they're rather advanced knobs.
This commit is contained in:
Michael Cook (mackal)
2021-07-16 21:50:46 -04:00
parent 8a2a1b152e
commit ddb14187b0
4 changed files with 228 additions and 7 deletions
+1
View File
@@ -451,6 +451,7 @@ SET(repositories
)
SET(common_headers
additive_lagged_fibonacci_engine.h
any.h
base_packet.h
base_data.h