LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
DepartureDiscipline.m
1classdef (Sealed) DepartureDiscipline
2 % Departure disciplines for the depository of a queueing place (QPN semantics).
3 %
4 % A queueing place serves tokens in its embedded queue and, on service
5 % completion, moves them to a depository from which they become available to
6 % the output transitions. The departure discipline governs the order in which
7 % depository tokens become available.
8 %
9 % Copyright (c) 2012-2026, Imperial College London
10 % All rights reserved.
11
12 properties (Constant)
13 NORMAL = 0; % Tokens available immediately upon service completion (standard QPN)
14 FIFO = 1; % Tokens available in their order of arrival to the depository
15 end
16
17 methods (Static)
18 function text = toText(type)
19 % TEXT = TOTEXT(TYPE)
20 switch type
21 case DepartureDiscipline.NORMAL
22 text = 'normal';
23 case DepartureDiscipline.FIFO
24 text = 'fifo';
25 otherwise
26 line_error(mfilename, 'Unrecognized departure discipline type.');
27 end
28 end
29 end
30end
Definition Station.m:245