DropProbabilistic

data class DropProbabilistic(val probability: Double, val seed: Long, val direction: Direction = Direction.Both) : FaultProfile

Drop each frame independently with probability probability in direction.

seed makes the pseudo-random draw deterministic across test runs. A probability of 0.0 never drops; 1.0 always drops.

Constructors

Link copied to clipboard
constructor(probability: Double, seed: Long, direction: Direction = Direction.Both)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val seed: Long