MCPcopy Create free account
hub / github.com/Fields2Cover/Fields2Cover / getRandomLinear

Method getRandomLinear

src/fields2cover/utils/random.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22double Random::getRandomLinear(double min, double max) {
23 assert(min < max);
24 std::uniform_real_distribution<double> distribution(min, max);
25 return distribution(mt_);
26}
27
28double Random::getRandomExp(double min, double max) {
29 assert(min < max);

Callers 3

generateRandCellMethod · 0.95
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64