Class NormalSampler
Generates samples from a Normal distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class NormalSampler : SampleGenerator
Constructors
NormalSampler(double, double)
Create a new instance and initialize the mean and standard deviation.
Declaration
public NormalSampler(double mean = 1, double stdDev = 1)
Parameters
Type | Name | Description |
---|---|---|
double | mean | |
double | stdDev |
Methods
Sample()
Generates a sample value.
Declaration
public override ElementValue Sample()
Returns
Type | Description |
---|---|
ElementValue |