BDE 4.14.0 Production release
|
#include <bdlcc_skiplist.h>
Public Member Functions | |
SkipList_RandomLevelGenerator () | |
Construct a thread-aware random-level generator. | |
int | randomLevel () |
Return a random integer between 0 and k_MAX_LEVEL. | |
This component-private class handles randomizing the levelization of list nodes.
See bdlcc_skiplist
bdlcc::SkipList_RandomLevelGenerator::SkipList_RandomLevelGenerator | ( | ) |
int bdlcc::SkipList_RandomLevelGenerator::randomLevel | ( | ) |