alpha_index#

alpha_index(domain, network_name)#

Calculate the alpha index of a network. The alpha index relates to the meshedness of the graph. 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.