Add random number generator. (#1370)
authorAina Niemetz <aina.niemetz@gmail.com>
Fri, 17 Nov 2017 17:44:13 +0000 (09:44 -0800)
committerGitHub <noreply@github.com>
Fri, 17 Nov 2017 17:44:13 +0000 (09:44 -0800)
commit40b04572d72ed5c46b85ec3cd06e5654efaa6d33
treeab2220a5fe9935778c510ce56a0bfdad2d96afe6
parent6c6f4e23aea405a812b1c6a3dd4d80696eb34741
Add random number generator. (#1370)

This adds a deterministic (seeded) random number generator (RNG). It implements the xorshift* generator (see S. Vigna, An experimental exploration of Marsaglia's xorshift generators, scrambled. ACM Trans. Math. Softw. 42(4): 30:1-30:23, 2016).
src/decision/justification_heuristic.cpp
src/options/main_options
src/smt/smt_engine.cpp
src/theory/arith/theory_arith_private.cpp
src/theory/quantifiers/ce_guided_pbe.cpp
src/theory/quantifiers/ceg_t_instantiator.cpp
src/util/Makefile.am
src/util/random.cpp [new file with mode: 0644]
src/util/random.h [new file with mode: 0644]