MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / setSeeds

Function setSeeds

quest/src/api/debug.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37void setSeeds(unsigned* seeds, int numSeeds) {
38 validate_envIsInit(__func__);
39 validate_randomSeeds(seeds, numSeeds, __func__);
40
41 // consults only root-node seeds
42 rand_setSeeds(vector<unsigned>(seeds, seeds+numSeeds));
43}
44
45void setSeedsToDefault() {
46 validate_envIsInit(__func__);

Callers 3

setRandomTestStateSeedsFunction · 0.85
DYNAMIC_SECTIONFunction · 0.85
SECTIONFunction · 0.85

Calls 3

validate_envIsInitFunction · 0.85
validate_randomSeedsFunction · 0.85
rand_setSeedsFunction · 0.85

Tested by

no test coverage detected