Research Article

Integrated Vibration Control of In-Wheel Motor-Suspensions Coupling System via Dynamics Parameter Optimization

Pseudocode 2

search for partners within the visual;
if found partners;
 obtain the center position (formula (9)) and the corresponding food concentration;
 if the position has higher food concentration (Ycenter > Yi) and not very crowded (formula (10));
  move to the position (formula (11));
 else
  foraging behavior;
 end.
else
 foraging behavior;
end.