Algorithm 1.
for node index i ∈ {1,…,N} do |
Take number of in-neighbors ni ∼ Bin(N − 1, p). |
for in-neighbor index j ∈ {1,…,ni} do |
|
end for |
end for |
for node index i ∈ {1,…,N} do |
Take number of in-neighbors ni ∼ Bin(N − 1, p). |
for in-neighbor index j ∈ {1,…,ni} do |
|
end for |
end for |