MCPcopy Create free account
hub / github.com/OpenGenus/cosmos / random

Method random

code/data_structures/src/list/skip_list/skip_list.java:13–15  ·  view source on GitHub ↗

Create a random number function from the standard Java Random class. Turn it into a uniformly distributed value within the range 0 to n-1 by taking the value mod n. @param n The upper bound for the range. @return A value in the range 0 to n-1.

(int n)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

randomLevelMethod · 0.95
makeFunction · 0.80
bestActionMethod · 0.80
chooseActionMethod · 0.80
loadDatasetFunction · 0.80
measureMethod · 0.80
PickFunction · 0.80
moveOneStepAtRandomMethod · 0.80
fillListMethod · 0.80
mutateFunction · 0.80
crossoverFunction · 0.80

Calls 1

nextIntMethod · 0.80

Tested by

no test coverage detected