| 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.
| ID | Cluster ID |