Generating model network: Erdös-Rényi and Barabási-Albert.