debugging comms constraints

This commit is contained in:
2025-12-31 20:54:01 -08:00
parent d6a9c4ac06
commit 4735c2b77b
4 changed files with 30 additions and 22 deletions

View File

@@ -21,12 +21,8 @@ function obj = lesserNeighbor(obj)
% indexed agent provides connectivity already
for jj = 1:(ii - 1)
for kk = 1:(jj - 1)
% Check if a connection between the two lesser agents
% already exists
if constraintAdjacencyMatrix(jj, kk)
constraintAdjacencyMatrix(jj, kk) = false;
constraintAdjacencyMatrix(kk, jj) = false;
end
constraintAdjacencyMatrix(ii, kk) = false;
constraintAdjacencyMatrix(kk, ii) = false;
end
end
end