Research Article

SDNManager: A Safeguard Architecture for SDN DoS Attacks Based on Bandwidth Prediction

Algorithm 3

Optimal mapping algorithm.
Input: Initial matching Θ; , ,
Output: , ,
(1) function
(2) for All controllers, ,   do
(3) for Each switch   do
(4) for controller   do
(5) Find the transfer pair with minimum
(6) endfor
(7) if   then
(8) Update:
(9) end if
(10) end for
(11) end for
(12) Transform to
(13) end function