Research Article

Decomposition-Based Multiobjective Evolutionary Algorithm for Community Detection in Dynamic Social Networks

Algorithm 2

Local search procedure.
Input:
: The subpopulation before local search
: Size of
: Number of neighbors
Output:
: The new subpopulation after local search
Step  1. Set , .
Step  2. If , the algorithm terminates. Export as the new population.
     Otherwise, select the th individual in , set .
Step  3. If , the search procedure stops for the th individual,
     go to Step  7. Otherwise, go to Step  4;
Step  4. Assume the th gene need to do local search, attain all the neighbors of node ,
     find the label of community which most neighborhood nodes belong to.
     And then select one from these nodes to replace the th gene
     by the corresponding value.
Step  5. Calculate the value of objective function of the new individual according to the
     corresponding single-objective sub problem. If its value is greater than
     that before local search, replace the current individual by the new one, go to Step  7,
     otherwise, go to Step  6.
Step  6. , go to Step  3.
Step  7. Add the current individual to , , go to Step  2