1%{ @file sn_has_mixed_classes.m
2 % @brief Checks
if the network has both open and closed
classes
4 % @author LINE Development Team
8 % @brief Checks
if the network has both open and closed
classes
11 % Returns
true if the network contains at least one open
class and one closed class.
15 %
bool = sn_has_mixed_classes(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 the network has both open and closed
classes
30function
bool = sn_has_mixed_classes(sn)
32bool = sn_has_closed_classes(sn) && sn_has_open_classes(sn);