Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chrxh/alien
/ getRandomInt
Method
getRandomInt
source/Base/NumberGenerator.cpp:20–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
}
19
20
uint32_t NumberGenerator::getRandomInt()
21
{
22
return getNumberFromArray();
23
}
24
25
uint32_t NumberGenerator::getRandomInt(uint32_t range)
26
{
Callers
10
createRandomGenome
Method · 0.80
createRect
Method · 0.80
createHex
Method · 0.80
createUnconnectedCircle
Method · 0.80
randomizeCellColors
Method · 0.80
randomizeGenomeColors
Method · 0.80
randomizeMutationIds
Method · 0.80
getNewCreatureId
Function · 0.80
createCell
Method · 0.80
NeuronSelection
Method · 0.80
Calls
no outgoing calls
Tested by
1
createRandomGenome
Method · 0.64