1%{ @file sn_has_multi_class_heter_fcfs.m
2 % @brief Checks
for multi-
class FCFS with heterogeneous service
4 % @author LINE Development Team
8 % @brief Checks
for multi-
class FCFS with heterogeneous service
11 % Returns
true if any FCFS station serves multiple
classes with different service time distributions.
15 %
bool = sn_has_multi_class_heter_fcfs(sn)
20 % <tr><th>Name<th>Description
21 % <tr><td>sn<td>Network structure
26 % <tr><th>Name<th>Description
27 % <tr><td>bool<td>True
if any multi-class FCFS station has heterogeneous service
30function
bool = sn_has_multi_class_heter_fcfs(sn)
32iset = find(sn.sched == SchedStrategy.FCFS);
38 bool = bool | range([sn.rates(i,:)])>0;