Research Article

Overlapping Community Detection Algorithm Based on High-Quality Subgraph Extension in Local Core Regions of Network

Algorithm 3

Seed community expansion algorithm.
Input : Graph G = (V, E), Seed community set Seeds
Output : Overlapping community set C
1: C = ∅;
2: for each sSeedsdo
3:  Cs = s;
4:  While true do
5:   select any neighbor node i of the seed community Cs;
6:   ifI(i) > 0 and E(i) < 0 then
7:    Cs = Csi;
8:   end if
9:   if all neighbor nodes of seed community Cs do not satisfy I > 0 and E < 0 then
10:    break;
11:   end if
12:  end while
13:  C = CCs;
14: end for