Added lesser neighbor algorithm and constraints

This commit is contained in:
kdee committed 2025-12-31 19:19:36 -08:00
1 parent fa8da50db1
commit d6a9c4ac06
10 files changed
+80 -17

No files matched your search

+5
View File
@@ -28,4 +28,9 @@ function obj = updateAdjacency(obj)
end
obj.adjacency = A & A';
if any(obj.adjacency - obj.constraintAdjacencyMatrix < 0, 'all')
warning("Eliminated network connections that were necessary");
keyboard
end
end