Skip to main content

TriangularDistributionInt

A class in Root.Township, the global namespace.

Serializable random integer setting with a triangular distribution between a minimum and maximum, peaking at the mode.

Constructors​

MemberWhat it is
TriangularDistributionInt()Creates a TriangularDistributionInt with default values.

Fields​

3 private and internal fields
MemberWhat it is
private int maximumLargest value.
private int minimumSmallest value.
private int modeMost likely value.

Properties​

MemberWhat it is
int RandomValue { get; }A new random integer from the distribution each time it's read.

Used in​

Members of other types that take, return or hold a TriangularDistributionInt: