LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getLimitedJointDependence.m
1function eta = getLimitedJointDependence(self)
2% eta = GETLIMITEDJOINTDEPENDENCE()
3
4% Copyright (c) 2012-2026, Imperial College London
5% All rights reserved.
6
7M = getNumberOfStations(self);
8eta = cell(M,1);
9hasAny = false;
10for i=1:M
11 if ~isempty(self.stations{i}.ljdScaling)
12 eta{i} = self.stations{i}.ljdScaling; % function handle
13 hasAny = true;
14 end
15end
16if ~hasAny
17 % No joint-dependent station: return {} so that ISEMPTY(sn.jdscaling)
18 % remains the test for "the model has no joint dependence at all".
19 eta = {};
20 return
21end
22% Non joint-dependent stations are deliberately left EMPTY rather than filled
23% with @(nvec) 1. The entry is the joint-dependent service-rate scaling
24% eta_i(n) (non-product-form: eta may read the joint vector arbitrarily).
25% Consumers treat an empty entry as "no joint dependence": PFQN_JDFUN skips it.
26end