Authors: joe williams (j@boundary.com).
erlang implementation of a uniform random sample based on a java implementation by coda hale, which can be found at:
https://github.com/codahale/metrics/blob/development/src/main/java/com/yammer/metrics/core/UniformSample.java
that implementation is based on algorithm R in:
http://www.cs.umd.edu/~samir/498/vitter.pdf| get_values/1 | |
| new/1 | |
| update/2 |
get_values(Uniform) -> any()
new(Size) -> any()
update(Uniform, Value) -> any()
Generated by EDoc