cascade.graph.multiplex_num
- cascade.graph.multiplex_num(graph, edge_attr='weight')[source]
Get the number of multiplexed graphs according to an edge attribute
- Parameters:
- Return type:
- Returns:
Multiplex number
Note
Singularly multiplexed graph has num = 1, while non-multiplexed graph has num = 0.
Caution
The cache is UNSAFE from inplace graph manipulations.