LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
hasInitState.m
1function bool = hasInitState(self)
2% BOOL = HASINITSTATE()
3
4bool = true;
5if ~self.hasState % check if all stations are initialized
6 for ind=1:self.getNumberOfNodes
7 if isa(self.nodes{ind},'StatefulNode') && isempty(self.nodes{ind}.state)
8 bool = false;
9 break;
10 end
11 end
12end
13end
Definition mmt.m:92