algortihm 1 basic link selection

input: txm matrix M, integer k

output: MP =(M1 M2) where M1 is txk

1: compute the SVD of M: M= Udelta V T;

2: Apply QR with column pivoting to first k

column

V(:, 1: k)T p =QR

algorithm 2 SDN Router Placement

Input: Eb: the set of basic links;

output: C: the set of SDN routers;

1: C=0;

2: while Eb not equal theta do

for legacy router i with yi= = do

compute Ei Eb; Ei is the set of basic cover the legacy router

i;

how to design this algorithm using python

More Adnan Majeed's questions See All
Similar questions and discussions