Question: Consider the following algorithm. Algorithm 1 Salp Swarm Algorithm ( SSA ) Initialize a population x . while ( n Calculate the fitness value for
Consider the following algorithm.
Algorithm Salp Swarm Algorithm SSA
Initialize a population
while n
Calculate the fitness value for xi
Determine the best solution xb
Using Eq to update c
for i:N do
If i then
Update xi using Eq
else
Update xi using Eq
end if
end for
end while
Return xb
how many times is the basic operation executed
c what is the efficiency class of this algorithm
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
