1%{ @file sn_has_fork_join.m
2 % @brief Checks
if the network contains fork-join
nodes
4 % @author LINE Development Team
8 % @brief Checks
if the network contains fork-join
nodes
11 % Returns
true if the network contains any fork or join
nodes.
15 %
bool = sn_has_fork_join(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 contains fork or join
nodes
30function
bool = sn_has_fork_join(sn)
31bool = any(sn.fj(:) > 0);