MobilityDB 1.1

◆ random_level()

static int random_level ( )
static

This simulates up to SKIPLIST_MAXLEVEL repeated coin flips without spinning the RNG every time (courtesy of the internet)