LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
JobClassType.m
1classdef JobClassType < NetworkElement
2 % An abstract class for a collection of indistinguishable jobs
3 %
4 % Copyright (c) 2012-2026, Imperial College London
5 % All rights reserved.
6
7 properties (Constant)
8 DISABLED = -1;
9 OPEN = 0;
10 CLOSED = 1;
11 end
12
13 methods (Static)
14 function txt = toText(classType)
15 switch classType
16 case JobClassType.DISABLED
17 txt = 'disabled';
18 case JobClassType.OPEN
19 txt = 'open';
20 case JobClassType.CLOSED
21 txt = 'closed';
22 otherwise
23 line_error(mfilename, 'Unknown job class type.');
24 end
25 end
26 end
27end