SpatialGraphDistribution

SpatialGraphDistribution[n,r]

represents a spatial distribution for graphs with n vertices uniformly distributed over the unit square and edges between vertices that are at distance at most r.

SpatialGraphDistribution[n,r,d]

represents a spatial distribution for graphs with vertices uniformly distributed over the d-dimensional unit square.

SpatialGraphDistribution[n,r,dist]

represents a spatial distribution for graphs with vertices distributed according to the probability distribution dist.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Generate a pseudorandom graph:

In[1]:=
Click for copyable input
Out[1]=

Probability density functions of the EdgeCount:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Scope  (6)

Options  (2)

Applications  (3)

Properties & Relations  (6)

Neat Examples  (1)

See Also

BernoulliGraphDistribution  UniformGraphDistribution  DegreeGraphDistribution  BarabasiAlbertGraphDistribution  PriceGraphDistribution  WattsStrogatzGraphDistribution

Introduced in 2012
(9.0)