Question

Consider an Erdős-Rényi network with N = 3,000 nodes, connected to each other with probability p...

Consider an Erdős-Rényi network with N = 3,000 nodes, connected to each other with probability p = 10–3.

Given the linking probability p = 10–3, calculate the number of nodes Ncr so that the network has only one component.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

I HOPE ITS HELPFULL TO YOU ...IF YOU HAVE ANY DOUBTS PLS COMMENTS BELOW...I WILL BE THERE TO HELP YOU...PLS RATE THUMBS UP...!! ALL THE BEST ...

ANSWER::-

AS FOR GIVEN DATA....

Consider an Erdős-Rényi network with N = 3,000 nodes, connected to each other with probability p = 10–3.

Given the linking probability p = 10–3, calculate the number of nodes Ncr so that the network has only one component.

SOL ::-

NOTE ::-

There are two closely related variants of the Erdos–Rényi (ER) random graph model.

In the G(n, M) model, a graph is chosen uniformly at random from the collection of all graphs which have n nodes and M edges. For example, in the G(3, 2) model, each of the three possible graphs on three vertices and two edges are included with probability 1/3.
In the G(n, p) model, a graph is constructed by connecting nodes randomly. Each edge is included in the graph with probability p independent from every other edge. Equivalently, all graphs with n nodes and M edges have equal probability of

CODE ::-

#importing the networkx library

>>> import networkx as nx

  

#importing the matplotlib library for plotting the graph

>>> import matplotlib.pyplot as plt

  

>>> G= nx.erdos_renyi_graph(3000,0.1)

>>> nx.draw(G, with_labels=True)

>>> plt.show()

>>> I= nx.erdos_renyi_graph(3000,0.1)

>>> nx.draw(I, with_labels=True)

>>> plt.show()

I HOPE YOU UNDERSTAND..

I HOPE ITS HELP FULL TO YOU..PLS RATE THUMBS UP ITS HELPS ME ALOT...!

THANK YOU....!!!

Add a comment
Know the answer?
Add Answer to:
Consider an Erdős-Rényi network with N = 3,000 nodes, connected to each other with probability p...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT