2 % @brief Checks
if the network uses LCFS scheduling
4 % @author LINE Development Team
8 % @brief Checks
if the network uses LCFS scheduling
11 % Returns
true if any station in the network uses Last-Come First-Served scheduling.
15 %
bool = sn_has_lcfs(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 station uses LCFS scheduling
30function
bool = sn_has_lcfs(sn)
32bool = any(sn.sched==SchedStrategy.LCFS);