Algorithm: RSA based on network coding with maximum spectrum first (NC-MSF)

1: collect link status of G(V,E);

2: get parameters of multicast traffic request M i = ( s i , D i , F S i ) ;

3: sort the multicast traffic request based on maximum spectrum first;

4: for all the multicast traffic request in the sorted order do

5: i = i + 1 ;

6: while the network is operational do;

7: restore network resources used by expired requests;