LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
Delay.m
1classdef Delay < Queue
2 % Delay Infinite server station with no queueing delays
3 %
4 % Delay is a specialized Queue with infinite servers, meaning jobs
5 % experience service time but never wait in queue. Each arriving job
6 % is immediately served, making this ideal for modeling think times,
7 % processing delays, and other non-competing service processes.
8 %
9 % @brief Infinite server station for modeling non-queueing delays
10 %
11 % Key characteristics:
12 % - Infinite number of servers (no queueing)
13 % - Jobs experience service time but no waiting
14 % - Suitable for modeling think times and processing delays
15 % - Inherits all Queue functionality with modified scheduling
16 % - Equivalent to M/M/∞ queueing system
17 %
18 % Delay stations are commonly used for:
19 % - User think time modeling
20 % - Network propagation delays
21 % - Processing time without resource contention
22 % - Timeout and waiting periods
23 % - Background processing tasks
24 %
25 % Example:
26 % @code
27 % delay = Delay(model, 'ThinkTime');
28 % delay.setService(jobClass, Exp(1.0)); % Exponential service time
29 % @endcode
30 %
31 % Copyright (c) 2012-2026, Imperial College London
32 % All rights reserved.
33
34 methods
35 %Constructor
36 function self = Delay(model, name)
37 % DELAY Create a Delay station instance
38 %
39 % @brief Creates a Delay station with infinite servers (no queueing)
40 % @param model Network model to add the delay station to
41 % @param name String identifier for the delay station
42 % @return self Delay instance configured with infinite servers
43 %
44 % The constructor creates a delay station by calling the parent Queue
45 % constructor with infinite scheduling and sets numberOfServers to Inf.
46
47 self@Queue(model, name, SchedStrategy.INF);
48 self.numberOfServers = Inf;
49 end
50 end
51
52end
53