API reference
API reference
Select your platform
No SDKs available
No versions available

RandomMask Class

Extends Mask
A mask that randomly samples a value between 0 and 1.

Member Functions

Executes the mask on a candidate and returns the value.
Parameters
candidate
Candidate with the information from the distribution
Returns
The float depending on the mask
Checks if the candidate is valid for the given mask.
Parameters
c
Candidate with the information from the distribution
Returns
true if valid
Did you find this page helpful?
Thumbs up icon
Thumbs down icon