UniformUnsignedDist -- Uniform Unsigned Distribution
Description
A generator of non-negative integral values uniformly distributed across a closed interval [min,max]. (The interval includes both its endpoints.) Setting minValue == maxValue is allowed (and returns minValue).
+ create: (id <Zone>)aZonesetGenerator: (id <SplitRandomGenerator>)splitGeneratorsetVirtualGenerator: (unsigned)vGensetUnsignedMin: (unsigned)minValuesetMax: (unsigned)maxValue Use this create message if the generator to be attached is a Split one:
+ create: (id <Zone>)aZonesetGenerator: (id <SimpleRandomGenerator>)simpleGeneratorsetUnsignedMin: (unsigned)minValuesetMax: (unsigned)maxValue Use this create message if the generator to be attached is a Simple one:
Phase: Setting
- setUnsignedMin: (unsigned)minValuesetMax: (unsigned)maxValue The setUnsignedMin:setMax: method sets the minimum and maximum unsigned values to be returned
Phase: Using
- (unsigned)getUnsignedWithMin: (unsigned)minValwithMax: (unsigned)maxVal The getUnsignedWithMin:withMax: returns an unsigned integer within the interval [min, max].
- (unsigned)getUnsignedMax The getUnsignedMax method returns the maximum unsigned value.
- (unsigned)getUnsignedMin The getUnsignedMin method returns the minimum unsigned value.