fixed and verified communications constraint

This commit is contained in:
2026-01-06 12:24:42 -08:00
parent 4fe897455d
commit 1e7540226e
11 changed files with 89 additions and 34 deletions

12
@miSim/validate.m Normal file
View File

@@ -0,0 +1,12 @@
function validate(obj)
arguments (Input)
obj (1, 1) {mustBeA(obj, 'miSim')};
end
arguments (Output)
end
if max(conncomp(graph(obj.adjacency))) ~= 1
warning("Network is not connected");
end
end