SourceSpec

@Serializable
data class SourceSpec(val name: String, val interArrivalTime: RVData, val timeUntilFirst: RVData? = null, val maxArrivals: Long = Long.MAX_VALUE, val entityClass: String? = null, val marking: String? = null, val routing: RoutingSpec? = null)(source)

An arrival source.

Constructors

Link copied to clipboard
constructor(name: String, interArrivalTime: RVData, timeUntilFirst: RVData? = null, maxArrivals: Long = Long.MAX_VALUE, entityClass: String? = null, marking: String? = null, routing: RoutingSpec? = null)

Properties

Link copied to clipboard

the name of a QObjectClassSpec applied to created instances; null for untyped

Link copied to clipboard

the time-between-arrivals distribution

Link copied to clipboard

Optional name of a ksl.modeling.station.MarkingHookIfc resolved at build time from the builder's markings registry. The hook is applied to each freshly created QObject after the class template (if any). Unknown name fails the build loudly.

Link copied to clipboard

the maximum number of arrivals to generate

Link copied to clipboard

unique node name within the network

Link copied to clipboard

where created instances are first sent

Link copied to clipboard

the time-until-first-arrival distribution; null reuses interArrivalTime