Class ContinuousUniformSampler
Simulation sampler that generates samples with equal probability between specified minimum and maximum values.
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class ContinuousUniformSampler : SampleGenerator
Properties
Max
The maximum value of the sampling range. If not set, defaults to 1.
Declaration
public double Max { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Min
The minimum value of the sampling range. If not set, defaults to 0.
Declaration
public double Min { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
Sample()
Generates a sample with equal probability between specified minimum and maximum values.
Declaration
public override ElementValue Sample()
Returns
| Type | Description |
|---|---|
| ElementValue |