1%{ @file sn_has_multi_server.m
2 % @brief Checks
if the network has multi-server stations
4 % @author LINE Development Team
8 % @brief Checks
if the network has multi-server stations
11 % Returns
true if any station has more than one server.
15 %
bool = sn_has_multi_server(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 has multiple servers
30function
bool = sn_has_multi_server(sn)
32bool = any(sn.nservers(isfinite(sn.nservers)) > 1);