better routing solution
This commit is contained in:
1 parent
56cc4fced5
commit
37598479cc
10 files changed
+469
-66
No files matched your search
+5
-1
@@ -42,9 +42,13 @@ function [obj] = run(obj)
|
||||
% plotting purposes, the real partitioning is done by the agents)
|
||||
[obj.partitioning, obj.agents] = obj.agents{1}.partition(obj.agents, obj.domain.objective);
|
||||
|
||||
% Determine desired communications links
|
||||
% Determine desired communications links: lesser-neighbor gives the
|
||||
% low-level connectivity topology; routing mode overlays bulk links
|
||||
if ~obj.useFixedTopology
|
||||
obj = obj.lesserNeighbor();
|
||||
if coder.target('MATLAB') && obj.useRoutingTopology
|
||||
obj = obj.routeTopology();
|
||||
end
|
||||
end
|
||||
|
||||
% Log constraint adjacency for this timestep
|
||||
|
||||
Reference in new issue
Block a user