Research Article

TCDABCF: A Trust-Based Community Detection Using Artificial Bee Colony by Feature Fusion

Algorithm 1

ABC-based community detection algorithm of the proposed method.
(1)Input: MM adjacency matrix
(2)Output: Communities
(3)Begin
(4)For all users in the social network.
(5)Calculate all user’s communication rates.
(6)Calculate all user’s trust levels.
(7)End of for
(8)Select influential users with maximum communication rate and trust level as a community center.
(9)Merge overlap influential users due to the direct link.
(10)Extract community centers.
(11)Consider influential users as food sources in ABC.
(12)Search for a similar user to community centers based on fitness function to find employee, onlooker, and scout bees.
(13)Form communities based on fitness values greater than the threshold.
(14)Integrate communities based on overlap users.
(15)End