Input: bivariate attribute distributions ,
    bivariate degree distributions , individual
    attributes and ideal degree ,
    the population
 Output: 
) .
) foreach  in  do
)  .
) foreach   do
)     Schedule AddEdge to take place at
      time .
) Wait until time .
)
) return 
Listing 4: Procedure MakeRelations.