Scale free network using B-A algorithm
Versione 1.0.0.0 (1,51 KB) da
Tapan
Generates a scale free directed adjacency matrix using the BA algorithm
Use as:
A = BAgraph_dir(N,m0,m);
Where, N = number of nodes in the network, m0 is the size of seed network and m is the average degree of seed network; use mo=m or m<m0. For example,
A = BAgraph_dir(300,10,10);
The resulting adjacency matrix contains a 1 in row i, column j if i connects to j. A has a power-law in-degree distribution. Please be patient as the algorithm may take ~2-3 minutes to generate an adjacency matrix for N=300.
Cita come
Tapan (2026). Scale free network using B-A algorithm (https://it.mathworks.com/matlabcentral/fileexchange/49356-scale-free-network-using-b-a-algorithm), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2013b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Graph and Network Algorithms in Help Center e MATLAB Answers
Tag
Riconoscimenti
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
