MRprobGate

These two abstractions implement a simple probability gate:

MRprobGate.maxhelp

MRprobGate2.maxhelp

MRprobGate:

A simple abstraction that implements a probability gate. A mandatory argument sets the probability (in percent) that a given message will be let through.

MRprobGate2:

Same as MRprobGate, but rather than dropping the message if the probability is not met, it is output the other outlet.

download