bernoulliSamplingCommand

Invokes the appropriate Bernoulli sampling routine based on the command line arguments.

This routine selects the appropriate Bernoulli sampling function and template instantiation to use based on the command line arguments.

One of the basic choices is whether to use the vanilla algorithm or skip sampling. Skip sampling is a tad faster when the inclusion probability is small but doesn't support compatibility mode. See the bernoulliSkipSampling documentation for a discussion of the skipSamplingProbabilityThreshold used here.

void
bernoulliSamplingCommand
(
OutputRange
)
(,
auto ref OutputRange outputStream
)
if (
isOutputRange!(OutputRange, char)
)

Meta