arrivalsWithLoss
context(_: ScenarioBuilderScope)
fun <T> arrivalsWithLoss(label: String, generator: Generator<T>): NodeBuilder<T, ChannelType.Push>
fun <T> arrivalsWithLoss(label: String, generator: Generator<T>): NodeBuilder<T, ChannelType.Push>
Starts the builder chain, from which more nodes can be attached using the DSL. Vehicles generated by the arrivals node will be pushed to the next node in the chain.
If the network cannot support the traffic generated by this arrivals node, traffic would be lost and counted in a dedicated sink node.
Parameters
generator
Generates the vehicles which are inserted into the network by this node.