pymnet.er¶
- pymnet.er(n, p=None, edges=None)¶
Multiplex Erdos-Renyi model.
- Parameters:
- nint, list of lists of nodes
Number of nodes, or lists of nodes in each layer if network is not fully interconnected.
- pfloat or list of floats
Connection probability, or list of connection probabilities for each layer.
- edgesint or list of int
Number of edges, or list of number of edges in each layer.
- Returns:
- netMultiplexNetwork
The (multiplex) network produced.
See also
single_layer_er
the function used to generate a network on each layer