random: Get rid of uniform_distribution (non-portable).

* src/misc/random.cc, src/misc/random.hh,
src/tgbaalgos/randomgraph.cc, src/tgbatest/randaut.test,
src/tgbatest/randomize.test, src/tgbatest/readsave.test,
src/ltlvisit/simplify.cc, src/tgbaalgos/randomize.cc,
src/graph/graph.hh, src/tgbatest/randpsl.test: here.
This commit is contained in:
Etienne Renault 2015-02-11 11:19:25 +01:00
parent 5610d10ac3
commit 734bceff8e
10 changed files with 237 additions and 88 deletions

View file

@ -157,7 +157,7 @@ namespace spot
// We want to connect each node to a number of successors between
// 1 and n. If the probability to connect to each successor is d,
// the number of connected successors follows a binomial distribution.
barand bin(n - 1, d);
barand<nrand> bin(n - 1, d);
while (!nodes_to_process.empty())
{