Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 7 years ago

Dianbin Bao gravatar image

Stochastic block model

Hi all,

I would like to draw a random graph by Sage. The general stochastic model is the following: The graph contains n vertices and the n vertices are divided into r communities C1,Cr. For two vertices within the same community, there is a probability Pr that they are connected directly by an edge. How do I plot such a graph in Sage? References appreciated.