| Algorithm 3 Add_nodes |
| Input: |
| Output: |
| 1: for each node do |
| 2: if ) in the same community then |
| 3: |
| 4: else |
| 5: |
| 6: for each node do |
| 7: |
| 8: end for |
| 9: end if |
| 10: end for |
| Algorithm 3 Add_nodes |
| Input: |
| Output: |
| 1: for each node do |
| 2: if ) in the same community then |
| 3: |
| 4: else |
| 5: |
| 6: for each node do |
| 7: |
| 8: end for |
| 9: end if |
| 10: end for |