added debug visualization for agent GA

This commit is contained in:
2025-11-30 11:00:39 -08:00
parent f9f070e2d0
commit 4e0f213d0c
5 changed files with 88 additions and 10 deletions

View File

@@ -31,11 +31,13 @@ classdef agent
% Plotting
scatterPoints;
debug = false;
debugFig;
end
methods (Access = public)
[obj] = initialize(obj, pos, vel, pan, tilt, collisionGeometry, sensorModel, guidanceModel, comRange, index, label);
[obj] = run(obj, domain, partitioning);
[obj] = run(obj, domain, partitioning, t);
[obj, f] = plot(obj, ind, f);
updatePlots(obj);
end