Generated

@Serializable
data class Generated(val rv: RVData, val sampleSize: Int, val streamNumber: Int = 0, val name: String = "generated") : DataSourceReference(source)

Synthetic data sampled from a KSL random variable, specified by the canonical serializable RVData (typed RVType + a name→DoubleArray parameter map, which faithfully carries scalar, integer, and array-valued parameters).

streamNumber follows KSL's stream convention against the default provider: 0 (the default) draws the next stream, so each generation is independent; a positive number selects that shared stream, which the importer resets to its start before sampling, so a given positive streamNumber reproduces.

Produces exactly one dataset named name. Discrete RV types yield integer-valued samples suitable for the discrete fitting path.

Constructors

Link copied to clipboard
constructor(rv: RVData, sampleSize: Int, streamNumber: Int = 0, name: String = "generated")

Properties

Link copied to clipboard
Link copied to clipboard
val rv: RVData
Link copied to clipboard
Link copied to clipboard