Research Article

Local Community Detection in Complex Networks Based on Maximum Cliques Extension

Algorithm 2

Bron-Kerbosch.
Input: , , , MCS
Output: MCS
Begin:
(1) if   and
(2)   ;
(3) else
(4)   a pivot node in
(5)  foreach   in
(6)   BronKerbosch ( , , , );
(7)   ;
(8)   ;
(9) endfor
(10) endif
(11) retrun  MCS
End