pymnet.conf

pymnet.conf(degs, degstype='distribution', couplings=('categorical', 1.0))

Independent configuration model for multiplex networks.

Parameters:
degsdict, dict of dicts, list of dicts, MultiplexNetwork,

MultilayerNetwork Degrees. If dict, a monoplex network is returned. If dict of dicts, a multiplex network with keys as layer names is returned. If list of dicts, then a multiplex network with a layer for each element in the list is returned. See degstype parameter for the description of the dict used for describing intra-layer networks. If MultiplexNetwork (with 1 aspect) or MultilayerNetwork (with 0 aspects) object is given then a copy of that network is produced with configuration model.

degstypestring

If ‘distribution’, then degs dicts give the degree distributions, i.e., keys are degrees, and corresponding values are number of nodes with the given degree. If ‘nodes’, then degs dicts give node degrees, i.e, keys are node names and corresponding values are degrees of those nodes.

couplingstuple

The coupling types of the multiplex network object.

Returns:
netMultiplexNetwork

The (multiplex) network produced with the configuration model.

See also

single_layer_conf

the function used to generate a network on each layer