DeadEndNode

class DeadEndNode<InputT>(label: String, inputChannel: InputChannel<InputT, *>) : Node

Dead end node closes its input channel immediately, representing a queue node that is 'closed for business', and will crash the simulator if a vehicle is dispatched to this node.

Constructors

Link copied to clipboard
constructor(label: String, inputChannel: InputChannel<InputT, *>)

Properties

Link copied to clipboard
override val incoming: List<InputChannel<*, *>>
Link copied to clipboard
Link copied to clipboard
override val outgoing: List<OutputChannel<*, *>>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
context(_: Simulator)
open override fun onStart()

Closes the input channel on simulation start, preventing any entities from entering.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String