Research Article

Heuristic Artificial Bee Colony Algorithm for Uncovering Community in Complex Networks

Algorithm 4

Onlooker bee search.
Input: the nectar source set NS;
Output: the updated set of nectar source NS;
calculate of every nectar source;
select a nectar source which is maximum, and get EBID of the nectar source;
For to
   Node which is not labeled is randomly selected.
   The neighbor community set NCI of is calculated.
   ;
   The node is labeled;
return NS;