| igraph Reference Manual |
|---|
int igraph_degree_sequence_game(igraph_t *graph, const igraph_vector_t *out_deg, const igraph_vector_t *in_deg, igraph_degseq_t method);
Arguments:
|
Pointer to an uninitialized graph object. |
|
The degree sequence for an undirected graph (if
|
|
It is either a zero-length vector or
|
|
The method to generate the graph. Possible values:
|
Returns:
Error code:
|
Time complexity: O(|V|+|E|), the number of vertices plus the number of edges.
See also:
<< 2.6. igraph_rewire_edges — Rewire the edges of a graph with constant probability |
2.8. igraph_forest_fire_game — Generates a network according to the “forest fire game” >> |