LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getLimitedClassDependence.m
1function gamma = getLimitedClassDependence(self)
2% gamma = GETLIMITEDCLASSDEPENDENCE()
3
4% Copyright (c) 2012-2026, Imperial College London
5% All rights reserved.
6
7M = getNumberOfStations(self);
8gamma = cell(M,1);
9hasAny = false;
10for i=1:M
11 if ~isempty(self.stations{i}.lcdScaling)
12 gamma{i} = self.stations{i}.lcdScaling; % function handle
13 hasAny = true;
14 end
15end
16if ~hasAny
17 % No class-dependent station: return {} so that ISEMPTY(sn.cdscaling)
18 % remains the test for "the model has no class dependence at all".
19 gamma = {};
20 return
21end
22% Non class-dependent stations are deliberately left EMPTY rather than
23% filled with @(nvec) 1. The entry is the class-dependent service rate
24% beta_{i,r}(n) (Sauer 1983, eq. (40)), for which a constant 1 would assert
25% "every class completes at rate 1" -- not load independence (an LI station is
26% beta_{i,r}(n) = mu_i * n_r/|n|, whose n_r/|n| factor is what regenerates the
27% multinomial). Consumers treat an empty entry as "no class dependence":
28% PFQN_CDFUN skips it, and PFQN_CONV keeps the station on the load-independent
29% recurrence.
30end
Definition Station.m:245