set_capacities_edge_communicability(topology, capacities, capacity_unit='Mbps')[source]

Set link capacities proportionally to edge communicability centrality of the link.

topology : Topology

The topology to which link capacities will be set

capacities : list

A list of all possible capacity values

capacity_unit : str, optional

The unit in which capacity value is expressed (e.g. Mbps, Gbps etc..)