Show / Hide Table of Contents

Class SampleGenerator

Represents the definition of a Sample Generator, used to generate samples from the domain of an input variable for simulation.

Inheritance
object
SampleGenerator
BetaSampler
CauchySampler
ChiSampler
ChiSquaredSampler
ContinuousUniformSampler
ErlangSampler
ExponentialSampler
GammaSampler
InterpolatedSampler
InverseGammaSampler
LaplaceSampler
LogNormalSampler
NormalSampler
ParetoSampler
RayleighSampler
StableSampler
StudentTSampler
TriangularSampler
WeibullSampler
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE