Constructor | Description |
|
|
Static member | Description |
Full Usage:
BollobasRiordan.initDirected (n, alpha, beta, gamma, delta_in, delta_out, create_using)
Parameters:
int
-
Number of nodes in graph, integer.
alpha : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the in-degree distribution, float
beta : float
-
Probability for adding an edge between two existing nodes. One existing node is chosen randomly according the in-degree distribution and the other chosen randomly according to the out-degree distribution,float
gamma : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the out-degree distribution, float
delta_in : float
-
Bias for choosing nodes from in-degree distribution, float
delta_out : float
-
Bias for choosing nodes from out-degree distribution, float
create_using : DiGraph<'NodeKey, 'NodeData, 'EdgeData>
-
Basis for the graph generation
Returns: 'a
A DiGraph
|
If the given graph has less than 3 vertices, a hard-coded example is used instead. The sum of alpha, beta, and gamma must be 1.
|
Full Usage:
BollobasRiordan.initDirected (n, alpha, beta, gamma, delta_in, delta_out, create_using)
Parameters:
int
-
Number of nodes in graph, integer.
alpha : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the in-degree distribution, float
beta : float
-
Probability for adding an edge between two existing nodes. One existing node is chosen randomly according the in-degree distribution and the other chosen randomly according to the out-degree distribution,float
gamma : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the out-degree distribution, float
delta_in : float
-
Bias for choosing nodes from in-degree distribution, float
delta_out : float
-
Bias for choosing nodes from out-degree distribution, float
create_using : FGraph<int, int, float>
-
Basis for the graph generation
Returns: FGraph<int, int, float>
An FGraph
|
If the given graph has less than 3 vertices, a hard-coded example is used instead. The sum of alpha, beta, and gamma must be 1.
|
Full Usage:
BollobasRiordan.initDirectedDiGraph n alpha beta gamma delta_in delta_out create_using
Parameters:
int
-
Number of nodes in graph, integer.
alpha : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the in-degree distribution, float
beta : float
-
Probability for adding an edge between two existing nodes. One existing node is chosen randomly according the in-degree distribution and the other chosen randomly according to the out-degree distribution,float
gamma : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the out-degree distribution, float
delta_in : float
-
Bias for choosing nodes from in-degree distribution, float
delta_out : float
-
Bias for choosing nodes from out-degree distribution, float
create_using : DiGraph<'NodeKey, 'NodeData, 'EdgeData>
-
Basis for the graph generation
Returns: 'a
A DiGraph
|
If the given graph has less than 3 vertices, a hard-coded example is used instead. The sum of alpha, beta, and gamma must be 1.
|
Full Usage:
BollobasRiordan.initDirectedFGraph n alpha beta gamma delta_in delta_out create_using
Parameters:
int
-
Number of nodes in graph, integer.
alpha : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the in-degree distribution, float
beta : float
-
Probability for adding an edge between two existing nodes. One existing node is chosen randomly according the in-degree distribution and the other chosen randomly according to the out-degree distribution,float
gamma : float
-
Probability for adding a new node connected to an existing node chosen randomly according to the out-degree distribution, float
delta_in : float
-
Bias for choosing nodes from in-degree distribution, float
delta_out : float
-
Bias for choosing nodes from out-degree distribution, float
create_using : FGraph<int, int, float>
-
Basis for the graph generation
Returns: FGraph<int, int, float>
An FGraph
|
If the given graph has less than 3 vertices, a hard-coded example is used instead. The sum of alpha, beta, and gamma must be 1.
|