Package-level declarations
Types
Simulates connections to the outside world. Generates entities according to a provided Generator and sends them to its output channel at scheduled times. Acts as the entry point for traffic into the simulation.
A queue with a maximum capacity. Receives entities through a push channel and outputs through a pull channel.
Base class for nodes that hold entities. Provides callbacks for entity entry and exit events, allowing tracking of occupancy and behavior throughout the simulation.
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.
Base class for sink nodes that terminate entities. Tracks results and occupancy of received entities.
Introduces a time delay to entities passing through. Receives entities and delays them before sending them to the destination, with the delay determined by the delayProvider.
A sink that represents entities lost or discarded from the system.
Combines entities from a main input and a side input into a single output. Each main entity is matched with a corresponding side entity using the combiner function. The node remains ready only when the side input is ready.
Converts from pull-based to push-based flow. Actively pulls entities from the source and pushes them to the destination when both are ready.
A queue that receives entities through a push channel and outputs them through a pull channel. Entities are stored and ordered according to the provided QueuePolicy (defaults to FIFO). The queue remains open to receive entities and signals readiness when it contains items.
Processes entities through parallel servers, each introducing a delay. When all servers are busy, the input channel closes to prevent additional arrivals. Reopens when a server becomes available.
A sink that represents the output destination for successfully processed entities.
Splits entities into two outputs: a main output and a side output. Each incoming entity is processed by the splitter function to produce both outputs. The node remains ready only when the side destination is open.