1: | Input: G = (V, E), N (number of controllers), Constraints (e.g., capacity of links) |
2: |
|
3: | For each solution k in the set of possible solutions Do |
4: | Assign the set of controllers in k to network devices |
5: |
|
6: | If ( ) and (Constraint Check) Then |
7: |
|
8: | End If |
9: | End For |
10: | Return N Controller Placements, Controller Assignments, MinCost |