AnyLogic AnyLogic
Expand
Font size

randomFalse

Returns false with the given probability p. Is equivalent to uniform() >= p. The probability of true is 1 - p correspondingly.

randomFalse(double p)

Parameters
Name Type Description
p double the probability of false.
Result
Type Description
boolean false with probability p, true with probability 1 - p.
How can we improve this article?