10230

# Weighted Random Graph

The weighted random graph (WRG) model is presented here.
A WRG is generated: the probability that a weight (i.e., a number of links) is present between any pair of vertices is .
The adjacency matrix (the binary matrix where means that vertices and are connected) and the weighted adjacency matrix (where means that links are present between vertices and ) are shown.
is the cumulative weight distribution, is the cumulative degree distribution (where ), and is the cumulative strength distribution (where ); the corresponding lines are red, green, and orange, respectively.

### DETAILS

This Demonstration implements the WRG model as a function of the number of vertices and the parameter controlling the average weight.
In this Demonstration only graphs with a small number of vertices can be generated. A larger number of vertices would make the graph an indistinguishable ensemble of lines. Besides the visualization of the graph, the fundamental topological properties are shown: the observed cumulative weight distribution (in red), the observed cumulative degree distribution (in green), and the observed cumulative strength distribution (in orange).
The theoretical curves predicted by the weighted random graph model would be a cumulative geometric distribution with parameter , a cumulative binomial distribution with parameters and a cumulative negative binomial distribution with parameters , respectively. As can be seen, for small values of the strength distribution is almost indistinguishable from the degree distribution, while as increases the two quantities become increasingly different.
"The Weighted Random Graph Model," Diego Garlaschelli, arXiv:0902.0897v1.

### PERMANENT CITATION

Contributed by: Tiziano Squartini
After work by: Diego Garlaschelli
 Share: Embed Interactive Demonstration New! Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.

#### Related Topics

 RELATED RESOURCES
 The #1 tool for creating Demonstrations and anything technical. Explore anything with the first computational knowledge engine. The web's most extensive mathematics resource. An app for every course—right in the palm of your hand. Read our views on math,science, and technology. The format that makes Demonstrations (and any information) easy to share and interact with. Programs & resources for educators, schools & students. Join the initiative for modernizing math education. Walk through homework problems one step at a time, with hints to help along the way. Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet. Knowledge-based programming for everyone.