Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SoarGroup/Soar
/ SoarRandInt
Function
SoarRandInt
Core/SoarKernel/src/soar_rand.cpp:20–23 ·
view source on GitHub ↗
integer in [0,2^32-1]
Source
from the content-addressed store, hash-verified
18
19
// integer in [0,2^32-1]
20
uint32_t SoarRandInt()
21
{
22
return gSoarRand.randInt();
23
}
24
25
// integer in [0,n] for n < 2^32
26
uint32_t SoarRandInt(const uint32_t& max)
Callers
6
DoCaptureInput
Method · 0.85
DoRand
Method · 0.85
exploration_randomly_select
Function · 0.85
exploration_get_highest_q_value_pref
Function · 0.85
predict_srand_store_snapshot
Function · 0.85
rand_int_rhs_function_code
Function · 0.85
Calls
1
randInt
Method · 0.80
Tested by
no test coverage detected