Static Network Link Shuffling¶
Degree-sequence preserving shuffling¶
- microcanonical_reference_models.degree_sequence_preserving_shuffling(static_network, random_state)¶
- microcanonical_reference_models.degree_sequence_preserving_shuffling(static_network, random_state, rewires: int)¶
Produces a degree-sequence preserving shuffling of the given undirected dyadic
static network. The variant with the rewires
parameter performs the given
number of rewirings. The variant without the rewires
parameter performs a
number of rewirings equal to 100 times the number of edges in the network.
Joint degree-sequence preserving shuffling¶
- microcanonical_reference_models.joint_degree_sequence_preserving_shuffling(static_network, random_state)¶
- microcanonical_reference_models.joint_degree_sequence_preserving_shuffling(static_network, random_state, rewires: int)¶
Produces a joint degree-sequence preserving shuffling of the given undirected,
dyadic static network. The variant with the rewires
parameter performs the
given number of rewirings. The variant without the rewires
parameter
performs a number of rewirings equal to 100 times the number of edges in the
network.