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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


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.
    • 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 »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+