MCPcopy Create free account
hub / github.com/bighuang624/Algorithms-notes / setSeed

Method setSeed

code/algs4/StdRandom.java:90–93  ·  view source on GitHub ↗

Sets the seed of the pseudorandom number generator. This method enables you to produce the same sequence of "random" number for each execution of the program. Ordinarily, you should call this method at most once per program. @param s the seed

(long s)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected