WLJS LogoWLJS Notebook

BarabasiAlbertGraphDistribution

BarabasiAlbertGraphDistribution[n, k] represents a Barabási–Albert graph distribution for n-vertex graphs where a new vertex with k edges is added at each step.

Examples

Generate a scale-free network:

RandomGraph[BarabasiAlbertGraphDistribution[100, 2]]

Please visit the official Wolfram Language Reference for more details.

On this page