Question: What is the time complexity of the following algorithm? Algorithm 1 : Modified NCCLA Algorithm begin t = 0 ; Initialize the crow's behaviors within

What is the time complexity of the following algorithm?
Algorithm 1: Modified NCCLA Algorithm
begin
t=0;
Initialize the crow's behaviors within the family F[n]=[x1,x2,dots,xn];
Evaluate each behavior xi in F using f(xi);
Rank all behaviors and determine parent's behavior x1 and x2 at positions 1 and 2,
respectively:;
while termination criterion not met do
for each juvenile i in the family F do
/* update behavior xi through either social or asocial
learning
for each attribute j in the behavior xi do
if rand SLprob then
if rand VSLprob then
xi,j(t)=xpk,j(t-1);?*pk equals either 1 or 2
according to P1prob
else
xi,j(t)=xsk,j(t-1);**sk is any juvenile with a
better behavior than i
end
else
if rand TaEprob then
xi,j(t)=xL+U(0,1)(xU-xL);**j is a new random
else
attribute
xi,j(t)=xi,j(t-1); /* keep the previous attribute j
end
end
end
With Rpprob,, reinforce certain attributes of the modified xi using Eq.(6)
and Eq.(10);
end
With Rpprob, parent 1x1 and parent2x2 are reinforced according to Eq.(12) ;
Rank all behaviors and select the two best behaviors to be new parents x1 and
x2 :
t=t+1
end
end
Return the global best solution or accepted (adult-like) behavior x**;
 What is the time complexity of the following algorithm? Algorithm 1:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!