PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Mathematics and Algorithms
>
Graphs & Networks
>
Constructing Graphs
>
UniformGraphDistribution
>
Mathematica
>
Visualization and Graphics
>
Graphs & Networks
>
Constructing Graphs
>
UniformGraphDistribution
>
BUILT-IN MATHEMATICA SYMBOL
BernoulliGraphDistribution
BarabasiAlbertGraphDistribution
PriceGraphDistribution
DegreeGraphDistribution
WattsStrogatzGraphDistribution
BinomialDistribution
PoissonDistribution
SeedRandom
See Also »
|
Constructing Graphs
Summary of New Features in Mathematica 8
New in 8.0: Alphabetical Listing
New in 8.0: Mathematics & Algorithms
More About »
UniformGraphDistribution
UniformGraphDistribution
represents a uniform graph distribution on
n
-vertex,
m
-edge graphs.
MORE INFORMATION
The sample space is all simple graphs on
n
vertices and
m
edges.
UniformGraphDistribution
can be used with such functions as
RandomGraph
.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Generate a random undirected graph with 5 vertices and 6 edges:
Generate a random directed graph with 5 vertices and 6 edges:
Generate several graphs:
Generate a random undirected graph with 5 vertices and 6 edges:
In[1]:=
Out[1]=
Generate a random directed graph with 5 vertices and 6 edges:
In[1]:=
Out[1]=
Generate several graphs:
In[1]:=
Out[1]=
Applications
(1)
Find the largest component fraction when the mean vertex degree is
:
Average the result over 100 runs and plot it for different numbers of vertices:
Properties & Relations
(2)
A uniform graph can be generated by selecting
m
edges from the complete graph of size
n
:
The vertex degree for
follows
BinomialDistribution
:
The mean and standard variance:
Compare data to distribution cases:
Neat Examples
(2)
Random colored vertices:
SEE ALSO
BernoulliGraphDistribution
BarabasiAlbertGraphDistribution
PriceGraphDistribution
DegreeGraphDistribution
WattsStrogatzGraphDistribution
BinomialDistribution
PoissonDistribution
SeedRandom
MORE ABOUT
Constructing Graphs
Summary of New Features in
Mathematica
8
New in 8.0: Alphabetical Listing
New in 8.0: Mathematics & Algorithms
New in 8