|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinestatic |
Weighted random draw over a row of nonnegative weights.
| weights | Row to draw from. Negative entries are treated as zero. |
| generator | Entropy source for the draw |
Does not require a Weights instance or normalized weights; any span of nonnegative values is a valid distribution to draw from.
Definition at line 252 of file Weights.hpp.
Referenced by MayaFlux::Nodes::Network::WalkOperator::advance(), and weighted_pick().
Here is the caller graph for this function: