Changes for version 1.00
- The draw method now uses the faster approach. The old draw method is now called "draw_slow". "draw1" is no longer available as a method (please raise an issue if you believe it should be).
- Add a subclass, Statistics::Sampler::Multinomial::Indexed, that uses a hierarchical index to speed up the draw calls, at the cost of building and updating the index.
Modules
Generate multinomial samples using the conditional binomial method.
Generate multinomial samples using Vose's alias method
Generate multinomial samples using the conditional binomial method, using a hierarchical index to speed up the draw method.
Provides
in lib/Statistics/Sampler/Multinomial/AliasMethod.pm
in lib/Statistics/Sampler/Multinomial.pm