NHPPSourceSpec

@Serializable
data class NHPPSourceSpec(val name: String, val durations: List<Double>, val rates: List<Double>, val streamNum: Int = 0, val maxArrivals: Long = Long.MAX_VALUE, val marking: String? = null, val routing: RoutingSpec? = null)(source)

A non-homogeneous Poisson arrival source driven by a piecewise-constant rate function. The rate function is specified as parallel durations (length of each interval) and rates (arrival rate during each interval). Both arrays must have the same length and at least one element.

Constructors

Link copied to clipboard
constructor(name: String, durations: List<Double>, rates: List<Double>, streamNum: Int = 0, maxArrivals: Long = Long.MAX_VALUE, marking: String? = null, routing: RoutingSpec? = null)

Properties

Link copied to clipboard
Link copied to clipboard

optional hook name (resolved against the marking registry) to mark each newly created instance before it enters the network

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

the stream number for the underlying NHPP