Write a function configModel(degSeq) taking a degree sequence as input and returning a graph generated according to the configuration model as described in chapter 4.8 of Network Science. Consider the...

Write a function configModel(degSeq) taking a degree sequence as input and returning a graph generated according to the configuration model as described in chapter 4.8 of Network Science. Consider the set of graphs for which all vertices have degree 1 or 3 and n = 104 nodes. Let p1 be the probability that a node is of degree 1 and p3 = 1 − p1 be the probability that a node is of degree 3. Use configModel(degSeq) to make a figure showing the mean fractional size of the largest component for values of p1 from 0 to 1 in steps of 0.01. Estimate the value of p1 at which a phase transition occurs and the giant component disappears
Sep 20, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here