structify_net.zoo.sort_ER
- structify_net.zoo.sort_ER(nodes)
Erdos-Renyi rank model
Returns a rank model based on the Erdos-Renyi model. The Erdos-Renyi model is a random graph model where each pair of nodes is connected with probability p. For a rank model, all pairs of nodes have the same probability.
- Args:
nodes (_type_): describe nodes of the graphs, either as a networkx graph (node names and node attributes are preserved) or an integer (number of nodes)
- Returns:
structify_net.Rank_model
:: The corresponding rank model