Class SampleGenerator
Represents the definition of a Sample Generator, used to generate samples from the domain of an input variable for simulation.
Inheritance
SampleGenerator
Inherited Members
Namespace: Quantellia.WMServer.Simulation
Assembly: WMServer.dll
Syntax
public abstract class SampleGenerator
Properties
Sampler
Gets the name of the sampler, which is the class name with the substring "Sampler" removed.
Declaration
public virtual string Sampler { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
All classes that derive from Sampler should have names of the form {meaningful name}Sampler
so the logic of this property works correctly.
Methods
Sample()
Generate a new sample.
Declaration
public abstract ElementValue Sample()
Returns
Type | Description |
---|---|
ElementValue | A ElementValue representing the value of the sample. |