| Algorithm 1. Partition of the vertex set G |
| Input: , |
| Output: |
| (1) ; |
| (2) for (i = 1; i ≤ ||; i = i++) |
| (3) for (j = 1; j ≤ ||; j = j++) |
| (4) for (k = 1; k ≤ ||; k = k++) |
| (5) con = 0; |
| (6) while ) |
| (7) if () |
| (8) con++; |
| (9) end if |
| (10) end while |
| (11) if |
| (12) ; |
| (13) end if |
| (14) end for |
| (15) end for |
| (16) end for |
| (17) = ; |
| (18) return ; |