The configuration model is a model for random graphs that works in the following way. You...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The configuration model is a model for random graphs that works in the following way. You start with an arbitrary network with N nodes. For each of these nodes find the value of its degree. Now, in order to generate another network, you reconnect the links at random such that the degree of each node remains the same. There are no additional restrictions. a) 1 Write a pseudo-code that would implement this algorithm starting with a given graph where the nodes have degree {k₁, k2, ..., ky}. The pseudo-code has to have enough details for a reader to reproduce the algorithm. For instance, you should specify which variables are being used to store information, initial values and how they are modified during the implementation of the algorithm. b) Explain what kind of graphs you could obtain by using this model (directed/undirected, connected/disconnected, simple graphs, multi-graphs?) c) Assume that you are provided a list {k₁, k₂, ..., ky} with arbitrary integer values. Is there any case in which this list cannot represent an actual network? If yes, provide an example of a list of degrees that cannot correspond to an actual network and explain why it cannot exist. If not, justify carefully why it should always be possible. The configuration model is a model for random graphs that works in the following way. You start with an arbitrary network with N nodes. For each of these nodes find the value of its degree. Now, in order to generate another network, you reconnect the links at random such that the degree of each node remains the same. There are no additional restrictions. a) 1 Write a pseudo-code that would implement this algorithm starting with a given graph where the nodes have degree {k₁, k2, ..., ky}. The pseudo-code has to have enough details for a reader to reproduce the algorithm. For instance, you should specify which variables are being used to store information, initial values and how they are modified during the implementation of the algorithm. b) Explain what kind of graphs you could obtain by using this model (directed/undirected, connected/disconnected, simple graphs, multi-graphs?) c) Assume that you are provided a list {k₁, k₂, ..., ky} with arbitrary integer values. Is there any case in which this list cannot represent an actual network? If yes, provide an example of a list of degrees that cannot correspond to an actual network and explain why it cannot exist. If not, justify carefully why it should always be possible.
Expert Answer:
Answer rating: 100% (QA)
The detailed answer for the above question is provided below A Pseudocode for the Configuration Mode... View the full answer
Related Book For
Posted Date:
Students also viewed these electrical engineering questions
-
Let for any natural number x. If you start with an integer x and iterate f, you obtain a sequence, x, f(x), f(f(x)), . . . . Stop if you ever hit 1. For example, if x = 17, you get the sequence 17,...
-
For which values of n are these graphs regular? a) Kn b) Cn c) Wn d) Qn
-
The distance from the Sun to Neptune is 4.5 x 102 m. How long does it take sunlight to reach Neptune? Put your answer in scientific notation.
-
Walnut Corporation owns 6 percent of Teak Corporation, a domestic corporation. During the current year, Walnut Corporation received $20,000 in dividends from Teak Corporation. Assuming that Walnuts...
-
Gramling Inc. is considering an investment in new operating equipment with a 15- year life. The new equipment will cost $ 300,000 and a one- time cost of $ 15,000 will be incurred to remove the old...
-
Dave has $20,000 excess cash to invest. He can purchase a $20,000 T-bill for $19,800 or two $10,000 T-bills for $9,850 each. Which will give him the better return?
-
Molten plastic at a temperature of \(510^{\circ} \mathrm{F}\) is augered through an extruder barrel by a screw occupying \(\frac{3}{5}\) of the barrel's volume (Fig. P5.16). The extruder is \(16...
-
Activity-based costing methods are constantly being improved upon, and many websites discuss suggestions for improvement. The article in this activity outlines an alternative perspective on...
-
Blue Bird Sporting Goods reported the following data at July 31, 2021, with amounts in thousands: (Click the icon to view the income statement.) (Click the icon to view the balance sheet.) Read the...
-
KYC's stock price can go up by 15 percent every year, or down by 10 percent. Both outcomes are equally likely. The risk free rate is 5 percent, and the current stock price of KYC is 100. (a) Price a...
-
A resident citizen, married with 2 qualified dependents has the following data for the year 2020. Gross sales PH (5,000,000)Sales returns PH(500,000), Cost of sales PH (1,500,000) Gross sales...
-
What is the difference between mutual funds and hedge funds? Are the investors in each the same?
-
What is moral hazard? How does it relate to asymmetric information? How does adverse selection relate to asymmetric information?
-
Look for a recent IPO of stock. Who was the underwriter? What was the pricing of the shares? How did they fare in subsequent (secondary market) trading?
-
Write the expression of the skiers total energy at a given time. We denote x dx/dt, y dy/dt. What is the relation between the potential energy and the kinetic energy owing to energy conservation?...
-
Check that with this definition of the variable x, the potential energy of the skier at point (x, y) is V = mgx sin . A skier slides down a snowy plane slope. The plane makes an angle with respect...
-
A very small country is a net foreign lender and its supply of loanable funds increases. As a result, the equilibrium quantity of loanable funds used in the country ________ and the country's foreign...
-
Below is a sample of the data in the file NFLAttendance which contains the 32 teams in the National Football League, their conference affiliation, their division, and their average home attendance....
-
Show that EQ CFG is undecidable.
-
Use the procedure described in Lemma 1.60 to convert the following finite automata to regular expressions. a a 1 ,b 1 b a b a 3 () (b)
-
For each part, give a relation that satisfies the condition. a. Reflexive and symmetric but not transitive b. Reflexive and transitive but not symmetric c. Symmetric and transitive but not reflexive
-
An additive having a viscosity of $2 \mathrm{cP}$ and a density of $50 \mathrm{lb}_{\mathrm{m}} / \mathrm{ft}^{3}$ is fed from a reservoir into a mixing tank. The pressure in both the reservoir and...
-
You must determine the pump head and power required to transport a petroleum fraction $(\mu=$ $\left.60 \mathrm{cP}, ho=55 \mathrm{lb}_{\mathrm{m}} / \mathrm{ft}^{3} ight)$ at a rate of $500...
-
A pump takes water from a reservoir and delivers it to a water tower. The water in the tower is at atmospheric pressure and is $120 \mathrm{ft}$ above the reservoir. The pipeline is composed of $1000...
Study smarter with the SolutionInn App