Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SoarGroup/Soar
/ SoarRand
Function
SoarRand
Core/SoarKernel/src/soar_rand.cpp:8–11 ·
view source on GitHub ↗
real number in [0,1]
Source
from the content-addressed store, hash-verified
6
7
// real number in [0,1]
8
double SoarRand()
9
{
10
return gSoarRand.rand();
11
}
12
13
// real number in [0,n]
14
double SoarRand(const double& max)
Callers
6
testSoarRand
Method · 0.85
DoRand
Method · 0.85
exploration_probabilistically_select
Function · 0.85
exploration_boltzmann_select
Function · 0.85
exploration_epsilon_greedy_select
Function · 0.85
rand_float_rhs_function_code
Function · 0.85
Calls
1
rand
Method · 0.80
Tested by
1
testSoarRand
Method · 0.68