Skip to content
Snippets Groups Projects

Implementation of first order differential arrays in the time domain

Merged Imported Achilles Kappis requested to merge TimeDomainDMA into main
18 files
+ 616
278
Compare changes
  • Side-by-side
  • Inline
Files
18
@@ -3,7 +3,7 @@
% Author: Achilles Kappis
% e-mail: axilleaz@protonmail.com
%
% Date: 30/11/2023 (DD/MM/YYYY)
% Date: 25/11/2024 (DD/MM/YYYY)
%
% Copyright: MIT
% --------------------------------------------------
@@ -161,13 +161,6 @@ function optimPop = locSearch(pop, fitVals, nNeighbourPts, selMeth, stepSize, nI
% ====================================================
% Perform the local search
% ====================================================
% Handle parallel execution
if locOptParExec
nWorkers = gcp().NumWorkers;
else
nWorkers = 0;
end
% Parameters
rngFactor = stepSize(2, :) - stepSize(1, :); % Factor determining the range of the values
sftFactor = stepSize(1, :); % Factor shifting the mean of the values
@@ -177,7 +170,7 @@ function optimPop = locSearch(pop, fitVals, nNeighbourPts, selMeth, stepSize, nI
optimPop = zeros(size(pop));
% Go through the population
parfor (popIdx = 1:size(pop, 1), nWorkers)
parfor popIdx = 1:size(pop, 1)
optimPop(popIdx, :) = pop(popIdx, :);
% Loop conditions
@@ -230,4 +223,5 @@ function optimPop = locSearch(pop, fitVals, nNeighbourPts, selMeth, stepSize, nI
end
end
end
end
\ No newline at end of file
end
end
\ No newline at end of file
Loading