Search results

2 packages found

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, mak

published version 1.0.1, a month ago

Maintenance: 33%. Quality: 52%. Popularity: 1%.

An efficient random item sampler that ensures O(1) sampling complexity, and equal selection probability for all items across cycles. Each cycle ensures unique, non-repeating item selections, with each item sampled only once per cycle. Upon cycle completio

published version 1.0.0, 12 days ago

Maintenance: None. Quality: 52%. Popularity: None.