Used to initialize probability in list constructor. More...

## Public Member Functions | |

Prob (size_type maxNodes) | |

Set probability to 0.25 and calculate maxLevel based on maxNodes. | |

Prob (double probability, unsigned int maxLevel) | |

Set probability and maximum number of levels directly. | |

## Public Attributes | |

double | probability |

Probability that node will have another level. | |

unsigned int | maxLevel |

struct IndexedTinySkipList< T, R >::Prob

Used to initialize probability in list constructor.

template<class T, class R = RNG>

unsigned int IndexedTinySkipList< T, R >::Prob::maxLevel |

Maximum number of levels allowed.

The documentation for this struct was generated from the following file:

Generated on Thu Jan 6 2011 15:52:53 for SkipList Library by 1.7.3