plot1 for multiple trials

This commit is contained in:
2026-03-17 12:21:14 -07:00
parent e77b05bc0f
commit 8c3b853895
2 changed files with 59 additions and 47 deletions

View File

@@ -11,7 +11,7 @@ classdef results < matlab.unittest.TestCase
%% Diagnostic Parameters
% No effect on simulation dynamics
makeVideo = false; % disable video writing for big performance increase
makePlots = true; % disable plotting for big performance increase (also disables video)
makePlots = false; % disable plotting for big performance increase (also disables video)
plotCommsGeometry = false; % disable plotting communications geometries
%% Scenario Reinitialization
@@ -49,9 +49,13 @@ classdef results < matlab.unittest.TestCase
config = results.makeConfigs();
end
methods (TestClassSetup)
function setSeed(tc)
rng(tc.seed);
properties (MethodSetupParameter)
trials = struct('r1', 1, 'r2', 2, 'r3', 3, 'r4', 4, 'r5', 5);
end
methods (TestMethodSetup)
function setSeed(tc, trials)
rng(tc.seed + trials);
end
end