added static network option

This commit is contained in:
kdee committed 2026-03-13 16:18:12 -07:00
1 parent f003528a9c
commit 771575560f
7 files changed
+25 -9

No files matched your search

+3 -1
View File
@@ -30,7 +30,9 @@ function [obj] = run(obj)
obj.partitioning = obj.agents{1}.partition(obj.agents, obj.domain.objective);
% Determine desired communications links
obj = obj.lesserNeighbor();
if ~obj.useFixedTopology
obj = obj.lesserNeighbor();
end
% Moving
% Iterate over agents to simulate their unconstrained motion