title: Random Number Generator and Graphs Algorithm
body: <p>Given a method to uniformly at random choose real numbers between 0 and 1, how would you use this random number generator to uniformly at random pick an edge in a graph <code>G</code> with <code>n</code> edges.
  I know you can create a random graph <code>G</code> with the random number generator but I'm confused as how that can be modified to pick an random edge in a specific graph <code>G</code>. </p>
  
  <p>Another question comes to mind. Given the graph <code>G</code> was now weighted, how would that algorithm change. I suppose now the weights would have more of a bearing on the edge chosen but how much would it change the algorithm</p>
  
  <p>Any insights?</p>