Research Article
An Improved Local Community Detection Algorithm Using Selection Probability
Algorithm 1
ILCDSP algorithm.
Input: A source node and a network | Output: A local community containing source node | (1) Merge the source node into and merge the | neighbor nodes of into | (2) Set local modularity | (3) Calculate for each node in which makes | (4) Do | (5) While is not empty Do | (6) Generate randomly, find the candidate node | (7) Merge node into , and remove it from | (8) Update | (9) Until no new node is merged into | (10) Return |
|