boonnano 1
C++ library giving usage access to the Boon Logic Nano technology
 
Loading...
Searching...
No Matches

◆ GetProbabilityIndex()

uint32_t CBoonNano::GetProbabilityIndex ( int ID)

Get the probability index (PI). This is based on the log of the probability of seeing a cluster with the same size as cluster ID. For example, the largest cluster will have PI of 0 and a cluster with size 1 (a singleton cluster) will have PI of 1000 and then linearly scaled in between.

Parameters
IDCluster ID
Returns
Value indicating the probability of the cluster occurring