arrivals
context(_: ScenarioBuilderScope)
fun <T> arrivals(label: String, generator: Generator<T>): RegularNodeBuilder<ArrivalNode<T>, T, ChannelType.Push>
fun <T> arrivals(label: String, generator: Generator<T>): RegularNodeBuilder<ArrivalNode<T>, 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.
Note that if the network cannot support the traffic generated by this arrivals node, the simulation crashes, as this node does not support backpressure.
Parameters
generator
Generates the vehicles which are inserted into the network by this node.