Bernoulli sampling of lines from the input stream.
Each input line is a assigned a random value and output if less than cmdopt.inclusionProbability. The order of the lines is not changed.
This routine supports random value printing and gen-random-inorder value printing.
See Implementation
Bernoulli sampling of lines from the input stream.
Each input line is a assigned a random value and output if less than cmdopt.inclusionProbability. The order of the lines is not changed.
This routine supports random value printing and gen-random-inorder value printing.