Algorithm 4.
Procedure MakeRelations
Input: bivariate attribute distributions {βi,j}i=1..m;j=1..l, bivariate degree distributions , individual attributes {xi}i=1..m and ideal degrees {dj}j=1..l, the population V | |
Output: E | |
1 | |
2 | foreach i in 1... |V| do |
3 | foreach j =1...l do |
4 | . |
5 | foreach e = 1...dj(v) do |
6 | Schedule AddEdge(vi, j) to take place at time . |
7 | Wait until time 1. |
8 | |
9 | return E |