40 int samplesize,
uint32 randseed);
BlockNumber BlockSampler_Init(BlockSampler bs, BlockNumber nblocks, int samplesize, uint32 randseed)
void reservoir_init_selection_state(ReservoirState rs, int n)
double anl_get_next_S(double t, int n, double *stateptr)
double sampler_random_fract(pg_prng_state *randstate)
bool BlockSampler_HasMore(BlockSampler bs)
ReservoirStateData * ReservoirState
BlockNumber BlockSampler_Next(BlockSampler bs)
double anl_init_selection_state(int n)
void sampler_random_init_state(uint32 seed, pg_prng_state *randstate)
BlockSamplerData * BlockSampler
double anl_random_fract(void)
double reservoir_get_next_S(ReservoirState rs, double t, int n)