Class TriangularSampler
Generate samples from a Triangular distribution
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public class TriangularSampler : SampleGenerator
Constructors
TriangularSampler(double, double, double)
Create a new instance of a Triangular distribution sampler with the specified shape and scale parameters
Declaration
public TriangularSampler(double a, double b, double c)
Parameters
Type | Name | Description |
---|---|---|
double | a | |
double | b | |
double | c |
Properties
A
A parameter (lower)
Declaration
public double A { get; set; }
Property Value
Type | Description |
---|---|
double |
B
B parameter (mode)
Declaration
public double B { get; set; }
Property Value
Type | Description |
---|---|
double |
C
C parameter (upper)
Declaration
public double C { get; set; }
Property Value
Type | Description |
---|---|
double |
Methods
Sample()
Get a sample from the Triangular distribution
Declaration
public override ElementValue Sample()
Returns
Type | Description |
---|---|
ElementValue |