Previous Next


SamplingType Property (RDKSettings Object)

Description

Specifies or returns what type of sampling to use during an RDK simulation.

Syntax

object.SamplingType

Arguments

None.

Return Value

One of the following values:

RDKSamplingTypeTrueExpectedValue = 0 – always return the expected value of all distributions

RDKSamplingTypeExpectedValue = 1 – always return the expected value of all distributions, except for discrete distributions which return the integer value that could occur that is closest to the true expected value.

RDKSamplingTypeMonteCarlo = 2 – return Monte-Carlo samples.

RDKSamplingTypeLatinHypercube = 3 – return Latin-Hypercube samples.

Example

RDKApp.SimSettings.SamplingType = RDKSamplingTypeMonteCarlo