Scilab Function
Last update : 5/9/2006
ba - create one normal BA scale-free network model
Calling Sequence
-
[a,b] = ba(M0,M,T)
Parameters
-
M0
: integer
-
M
: integer
-
T
: integer
-
a
: row vector of the numbers of the tail nodes of the graph (its size is the number of edges of the graph)
-
b
: row vector of the numbers of the head nodes of the graph (its size is the number of edges of the graph)
Description
-
ba creates one normal BA scale-free network with exponent r=3. M0 is the initial nodes which compose an original complete graph. M is the number of link added into the graph every time step (M \leq M0), T is the total evolutional time step. Note the network size is M0+T here.
Examples
[a b]=ba(6,4,9994);
g=make_graph('ba',0,10000,a,b);
See Also
er
,
ws
,
bbv
,
sba
,
Authors
-
Wubo