reservoir_sample
11 years agoMerge branch 'release/release-1.2' into develop
Justin Wind [Fri, 22 Feb 2013 02:38:28 +0000 (18:38 -0800)]
Merge branch 'release/release-1.2' into develop

11 years agoBumped version to 1.2
Justin Wind [Fri, 22 Feb 2013 02:36:15 +0000 (18:36 -0800)]
Bumped version to 1.2

11 years agoSplit code into modules, handle USR1, minor fixes.
Justin Wind [Thu, 21 Feb 2013 01:33:57 +0000 (17:33 -0800)]
Split code into modules, handle USR1, minor fixes.

Dump current reservoir buffers eventually after receiving USR1 signal.
buf_t, reservoir_t, and randomness now each have their own respective modules.
Reads and writes are now EINTR safe.
Randomness source now defaults to system PRNG.
Reservoirs might now be growable -- implmented but untested.

11 years agoMerge branch 'release-1.1' into develop
Justin Wind [Tue, 19 Feb 2013 06:35:08 +0000 (22:35 -0800)]
Merge branch 'release-1.1' into develop

11 years agoBumped version to 1.1
Justin Wind [Tue, 19 Feb 2013 06:32:01 +0000 (22:32 -0800)]
Bumped version to 1.1

11 years agoFixed bias issue, some general cleanups.
Justin Wind [Mon, 18 Feb 2013 21:25:43 +0000 (13:25 -0800)]
Fixed bias issue, some general cleanups.

Moved num_lines increment out of the conditional block it had snuck erroneously into, which had been causing a bias of the reservoir results towards later entries.

11 years agoMerge branch 'release-1.0' into develop
Justin Wind [Mon, 15 Oct 2012 19:12:48 +0000 (12:12 -0700)]
Merge branch 'release-1.0' into develop

11 years agoBumped version to 1.0.
Justin Wind [Mon, 15 Oct 2012 19:07:40 +0000 (12:07 -0700)]
Bumped version to 1.0.

11 years agoInitial commit of functionally-complete code.
Justin Wind [Mon, 15 Oct 2012 18:57:41 +0000 (11:57 -0700)]
Initial commit of functionally-complete code.

11 years agoInitial commit
Justin Wind [Mon, 15 Oct 2012 18:55:53 +0000 (11:55 -0700)]
Initial commit