Research Article

Discovering the Influences of Complex Network Effects on Recovering Large Scale Multiagent Systems

Algorithm 3

.
(1) ;
(2) for each agent   do
(3) if agent was not been visited then
(4)   ;
(5)  if     then
(6)    ;
(7)   return the link is congested;
(8)  end  if
(9)  if     then
(10)   ;
(11) end  if
(12) if     then
(13)  return the agent is congested;
(14) else
(15)   if     then
(16)     ;
(17)    return the agent is congested;
(18)   else
(19)     ;
(20)   end  if
(21)  end  if
(22) end  if
(23) end  for