alpha_index#
- alpha_index(domain, network_name)#
A measure of connectivity which evaluates the number of cycles in a graph in comparison with the maximum number of cycles. A Tree ~0 and max planar ~1.
- Parameters:
- domainobject
The domain containing the network.
- network_namestr
The name of the network within the domain.
- Returns:
- float
The alpha index of the network.
- Raises:
- RuntimeError
If the network name is not in the list of generated networks.