Added lesser neighbor algorithm and constraints

This commit is contained in:
2025-12-31 19:19:36 -08:00
parent fa8da50db1
commit d6a9c4ac06
10 changed files with 80 additions and 17 deletions

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