1%{ @file sn_is_closed_model.m
2 % @brief Checks
if the network
is a closed model
4 % @author LINE Development Team
8 % @brief Checks
if the network
is a closed model
11 % Returns
true if all
classes in the network have finite population.
15 %
bool = sn_is_closed_model(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 all
classes have a finite population
30function
bool = sn_is_closed_model(sn)
31bool = all(isfinite(sn.njobs));