I am currently decoding a cuckoo search program, I don't understand why there is a need for Adding Values:
% divide a (hyper)circle to 'numRadiuses' segments
% This is to search all over the current habitat
angles = linspace(0,2*pi,numRadiuses); % in Radians
newParams = [];
for cnt = 1:numRadiuses
addingValue = zeros(1,npar);
for iii = 1:npar
randNum = floor(2*rand)+1;
addingValue(iii) = (-1)^randNum * tmpRadiuses(cnt)*cos(angles(cnt)) + tmpRadiuses(cnt)*sin(angles(cnt));
end
newParams = [newParams; params + addingValue ];
end
What is the relation between cuckoo eggs and number of variables?