NEWS.md
sample_int_expj()
, move retrieval of top element into the loop, to make it independent from the actual implementation of the priority queue.First CRAN release.
sample.int(replace = FALSE, prob = ...)
sample_int_rej()
: A rejective algorithm, in Rsample_int_rank()
: One-pass sampling by Efraimidis and Spirakis, in Rsample_int_crank()
: One-pass sampling by Efraimidis and Spirakis, in C++sample_int_expj()
: Reservoir sampling with exponential jumps Efraimidis and Spirakis, in C++