Research Article

Containing Epidemic Spreading on Networks with Neighbor Resource Supporting

Algorithm 1

Building uncorrelated configuration networks.
(1)Input: and
(2)Output: Network
(3)Assigning degree for each node according to
(4)Assigning stubs for each node with same value of degree , i.e.,
(5)whiledo
(6) Randomly select two stubs and to build an edge
(7)
(8)end while