networks
flowpoly
flow polynomial of an undirected graph
Calling Sequence
Parameters
Description
Examples
flowpoly(G, h)
G
-
undirected graph or network
h
variable used in flow polynomial (usually a modulus)
Important: The networks package has been deprecated. Use the superseding command GraphTheory[FlowPolynomial] instead.
The flow polynomial in variable h gives the number of nowhere-zero flows on G with edge labels chosen from integers modulo h.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[flowpoly](...).
with⁡networks:
G≔complete⁡4:
flowpoly⁡G,x
x3−6⁢x2+11⁢x−6
addvertex⁡5,G
5
addedge⁡1,2,1,5,G:
flowpoly⁡G,h
0
See Also
GraphTheory
GraphTheory[FlowPolynomial]
networks(deprecated)[tuttepoly]
Download Help Document