Research Article
Multi-Controller Placement Optimization Using Naked Mole-Rat Algorithm over Software-Defined Networking Environment
| | Input:, //shortest path matrix containing distance between the nodes, the original controller position | | | Output:, the average SC latency, mapping of switch-to-controller | | | for each do | | | for each node do | | | find the shortest distance path to the controller; | | | = assign the node nearest to it | | | Compute controller load capacity using (6) | | | while controller load exceeds the capacity do | | | assign switch to the next nearest controller | | | update the | | | end while | | | end for | | | for each controller do | | | find the shortest distance path to controller; | | | evaluate the controller-controller latency using the path | | | end for | | | = the combined global average latency using (7) | | | end for | | | Return, |
|