Maths.PseudoRandom.RandomWithAvoidance

A class for generating random values which are never too close to previously generated values.

Constructors

RandomWithAvoidance

#
Create a new random sequence generator.
public RandomWithAvoidance(
random,
Random engine.
min,
Lower range limit.
max,
Upper range limit.
radii
Sequence of avoidance radii, the sum total of which ought not exceed the range length.
)

Properties

Lower

#
Gets the lower limit for the random interval.
public double Lower { get; }

Upper

#
Gets the upper limit for the random interval.
public double Upper { get; }

Methods