basin extension replaced

This commit is contained in:
kdee committed 2026-10-11 16:39:46 -07:00
1 parent a55798c599
commit 1e335d33be
5 files changed
+78 -123

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ function [sinr, grad] = sinrLink(obj, positions, rxIdx, txIdx)
S = P_t / (K * d_t^n);
% Interference I = sum of received powers from every other agent at r
I = 0.0;
I = 0;
for k = 1:nAgents
if k == r || k == t
continue;