Write a random-network generator for sparse networks with capacities between 0 and 220, based on Program 17.7. Use a separate class for capacities and develop two implementations: one that generates uniformly distributed capacities and another that generates capacities according to a Gaussian distribution. Implement client programs that generate random networks for both weight distributions with a well-chosen set of values of V and E so that you can use them to run empirical tests on graphs drawn from various distributions of edge weights.
![1190_22bbd67d-da07-484d-b983-90f100ebf45c.png](https://secure.tutorsglobe.com/CMSImages/1190_22bbd67d-da07-484d-b983-90f100ebf45c.png)
![1925_7f2c631f-3474-4cd4-a8d8-56138bdd07f5.png](https://secure.tutorsglobe.com/CMSImages/1925_7f2c631f-3474-4cd4-a8d8-56138bdd07f5.png)