Class ErlangSampler
Generate samples from an Erlang distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class ErlangSampler : SampleGenerator
Constructors
ErlangSampler(int, double)
Create a new instance of a Erlang distribution sampler with the specified shape and rate distribution
Declaration
public ErlangSampler(int shape, double rate)
Parameters
Type | Name | Description |
---|---|---|
int | shape | |
double | rate |
Properties
Rate
Rate parameter
Declaration
public double Rate { get; set; }
Property Value
Type | Description |
---|---|
double |
Shape
A parameter
Declaration
public int Shape { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
Sample()
Get a sample from the Erlang distribution
Declaration
public override ElementValue Sample()
Returns
Type | Description |
---|---|
ElementValue |