Random: support URNG interface (#2595)
authorAina Niemetz <aina.niemetz@gmail.com>
Tue, 9 Oct 2018 17:36:40 +0000 (10:36 -0700)
committerGitHub <noreply@github.com>
Tue, 9 Oct 2018 17:36:40 +0000 (10:36 -0700)
commit90ffa8b4eb26af9060e57be7fe5d6008717d3ce6
tree0442e608d7cf01131cd98293a3a20b0906348c71
parent12246d53ac1dd4bbd464dee9dea61b8ac05b4b49
Random: support URNG interface (#2595)

Use std::shuffle (with Random as the unified random generator) instead
of std::random_shuffle for deterministic, reproducable random shuffling.
src/theory/quantifiers/cegqi/ceg_bv_instantiator.cpp
src/theory/quantifiers/conjecture_generator.cpp
src/theory/quantifiers/ematching/inst_strategy_e_matching.cpp
src/theory/quantifiers/sygus/sygus_unif.cpp
src/theory/quantifiers/sygus/sygus_unif_io.cpp
src/util/random.cpp
src/util/random.h