Research Article

A Semistructured Random Identifier Protocol for Anonymous Communication in SDN Network

Algorithm 2

Algorithm for subtree spin.
Input: original vid binary tree
Input: decay factor
Output: updated vid binary tree
(1)foreach  node    in    do
(2)if    is  uninitialized  then
(3)calculate ;
(4)end
(5) = Random;
(6)if   then
(7)Swap();
(8);
(9)end
(10)else
(11);
(12)end
(13)end
(14)return