LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
src
lang
@MNetwork
hasInitState.m
1
function
bool
= hasInitState(self)
2
% BOOL = HASINITSTATE()
3
4
bool = true;
5
if ~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
12
end
13
end
nodes
Definition
mmt.m:92
Generated by
1.9.8