Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

If the number of trials parameter (numTrials) is a double value, it will be truncated to the nearest integer value when creating the corresponding random variable or distribution.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Represents the parameters required for creating a discrete empirical random variable (DEmpiricalRV).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Since the number of successes parameter (numSuccesses) is a double value, it will be rounded up to the nearest integer which can be equal to or below the actual value when creating the corresponding random variable or distribution.

Link copied to clipboard

Defines the parameters for a piecewise constant empirical random variable (PWCEmpiricalRV) used in creating instances of random variables that follow a piecewise constant empirical distribution.

Link copied to clipboard
@Serializable
data class RVData(val rvType: RVType, val parameters: Map<String, DoubleArray>) : ToJSONIfc

Represents data necessary to define a KSL random variable. The data class can be serialized and deserialized.

Link copied to clipboard
@Serializable
data class RVParameterData(val clazzName: String, val elementId: Int, val dataType: String, val rvName: String, val paramName: String, val paramValue: Double)

A data transfer class holding the information about a random variable's parameters. Used primarily to store the data within the KSL database.

Link copied to clipboard
abstract class RVParameters(val rvClassName: String, val rvType: RVParametersTypeIfc)

This class facilitates the transfer of parameter information for random variables.

Link copied to clipboard
class RVParameterSetter(model: Model)

The purpose of this class is to work with a model instance to facilitate the changes of parameters associated with random variables. The parameters of random variables can be changed and then applied to the model. A change in the underlying data is not applied to the associated model until explicitly applied to the model.

Link copied to clipboard
interface RVParametersIfc