LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
SelfLoopingClass.m
1classdef SelfLoopingClass < ClosedClass
2 % A class of jobs that perpetually cycle at its reference station.
3 %
4 % Copyright (c) 2012-2026, Imperial College London
5 % All rights reserved.
6
7 methods
8
9 %Constructor
10 function self = SelfLoopingClass(model, name, njobs, refstat, prio)
11 % SELF = SELFLOOPINGCLASS(MODEL, NAME, NJOBS, REFSTAT, PRIO)
12 self@ClosedClass(model, name, njobs, refstat, prio);
13 if isa(model,'JNetwork')
14 self.obj = jline.lang.SelfLoopingClass(model.obj, name, njobs, refstat.obj, prio);
15 end
16 end
17 end
18
19end
20