adjusted partitioning to allow non-assignment

This commit is contained in:
2025-11-15 17:02:04 -08:00
parent afa5d79c1d
commit c9ac9d7725
4 changed files with 12 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ function value = sensorPerformance(obj, agentPos, agentPan, agentTilt, targetPos
% Membership functions
mu_d = 1 - (1 ./ (1 + exp(-obj.betaDist .* (d - obj.alphaDist)))); % distance
mu_p = 1; % pan
mu_t = (1 ./ (1 + exp(-obj.betaPan .* (tiltAngle + obj.alphaPan)))) - (1 ./ (1 + exp(-obj.betaPan .* (tiltAngle - obj.alphaPan)))); % tilt
mu_t = (1 ./ (1 + exp(-obj.betaTilt .* (tiltAngle + obj.alphaTilt)))) - (1 ./ (1 + exp(-obj.betaTilt .* (tiltAngle - obj.alphaTilt)))); % tilt
value = mu_d .* mu_p .* mu_t * 1e12;
value = mu_d .* mu_p .* mu_t;
end