Research Article

A Semistructured Random Identifier Protocol for Anonymous Communication in SDN Network

Algorithm 3

Generate a tree set.
Input: network topology
Input: balance difference restriction
Input: cost restriction
Input: current level
(1) ≔ all partitions of ;
(2)foreach    do
(3)if  
(4)or    is disconnected
(5)or    is disconnected  then
(6)delete from ;
(7)end
(8)end
(9)Sort s in in the descending order of edge cut cost;
(10)Keep the top of s and delete others;
(11)foreach   in   do
(12)Output tree node ;
(13)Self call with parameter ;
(14)Self call with parameter ;
(15)end