2 % @brief Checks
if the network uses SETF scheduling
4 % @author LINE Development Team
8 % @brief Checks
if the network uses SETF scheduling
11 % Returns
true if any station in the network uses Shortest Elapsed Time First
12 % (SETF) scheduling. SETF
is the non-preemptive version of FB/LAS scheduling.
16 % bool = sn_has_setf(sn)
21 % <tr><th>Name<th>Description
22 % <tr><td>sn<td>Network structure
27 % <tr><th>Name<th>Description
28 % <tr><td>bool<td>True if any station uses SETF scheduling
31function bool = sn_has_setf(sn)
33bool = any(sn.sched==SchedStrategy.SETF);