Question: The recipe or method for generating random networks with preferential attachment can have slight variations, though they all produce highly similar results. In this problem
The recipe or method for generating random networks with preferential attachment can have slight variations, though they all produce highly similar results. In this problem sheet we will consider a slightly different version from the steps in the lecture notes with gaps:
Begin with a set of nodes that each have edges and so form a triangle, ie a clique of In this version of the method each node will start with edges rather than as in the lecture notes
Add a new node to the network.
Form a new random edge with one of the existing nodes, using preferential attachment such that
new node links with node
where is the current degree of node
Let the chosen node from Step that you just connected to the new node be node
Add a second random edge to the new node, again using preferential attachment to choose the node to connect with, but avoid duplicating the first edge by excluding node The probabilities will be given by
where is the current degree of node
Repeat Steps until you have the desired number of nodes.
Question Generate a random graph with preferential attachment using the steps above until you have nodes. You will need a random number generator and it will likely take minutes or more to do this question. Present the network you generate as an edgelist who is connected to whom and a sketch of your network. Your working for this question may take several pages so do not include it
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
