LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
Firing.m
1classdef Firing < OutputSection
2 % An output section for Transitions
3 %
4 % Copyright (c) 2012-2026, Imperial College London
5 % All rights reserved.
6
7 methods
8 %Constructor
9 function self = Firing(customerClasses)
10 % SELF = FORKER(CUSTOMERCLASSES)
11
12 self@OutputSection('Firing');
13 initDispatcherJobClasses(self, customerClasses);
14 end
15 end
16
17 methods (Access = 'private')
18 function initDispatcherJobClasses(self, customerClasses)
19 % INITDISPATCHERJOBCLASSES(CUSTOMERCLASSES)
20
21 for i = 1 : length(customerClasses)
22 self.outputStrategy{i} = {customerClasses{i}.name, RoutingStrategy.RAND};
23 end
24 end
25 end
26
27end