Add more sophisticated floating-point sampler (#2155)
authorAndres Noetzli <andres.noetzli@gmail.com>
Sun, 8 Jul 2018 20:38:45 +0000 (13:38 -0700)
committerGitHub <noreply@github.com>
Sun, 8 Jul 2018 20:38:45 +0000 (13:38 -0700)
commit86d9ba4431108e1fd89639e23857631a7380a005
tree81e57f2b4594f6e4f80533a00789ece362b93da3
parentad454857a1f57386f7b132c01ad460750ca8d3aa
Add more sophisticated floating-point sampler (#2155)

This commit adds a floating-point sampler inspired by PyMPF [0]. It also
creates a new Sampler class that can be used for creating random values
of different sorts (currently BV and FP values).

[0] https://github.com/florianschanda/PyMPF
src/options/quantifiers_options.toml
src/theory/quantifiers/sygus_sampler.cpp
src/util/Makefile.am
src/util/sampler.cpp [new file with mode: 0644]
src/util/sampler.h [new file with mode: 0644]