random agent placement in parametric testing

This commit is contained in:
kdee committed 2026-01-28 15:42:52 -08:00
1 parent 8b7a756485
commit a68690a5cf
7 files changed
+108 -30

No files matched your search

+14 -7
View File
@@ -11,13 +11,20 @@ function obj = teardown(obj)
close(obj.fPerf);
close(obj.f);
% Reset accumulators
% reset parameters
obj.timestep = NaN;
obj.timestepIndex = NaN;
obj.maxIter = NaN;
obj.domain = rectangularPrism;
obj.objective = sensingObjective;
obj.obstacles = cell(0, 1);
obj.agents = cell(0, 1);
obj.adjacency = NaN;
obj.constraintAdjacencyMatrix = NaN;
obj.partitioning = NaN;
obj.performance = 0;
% Reset agents
for ii = 1:size(obj.agents, 1)
obj.agents{ii} = agent;
end
obj.barrierGain = NaN;
obj.barrierExponent = NaN;
obj.artifactName = "";
end