Network.potential¶
- Network.potential(flow: numpy.array, fixed_vertex: int = 0) numpy.ndarray [source]¶
Calculate potential of a flow.
- Parameters
- flowndarray
Flow on network edges.
- fixed_vertexint, default=0
Specifies which node/vertex used as reference.
- Returns
- potndarray
Potential of flow.
See also