networks
acycpoly
acyclicity polynomial of an undirected graph
Calling Sequence
Parameters
Description
Examples
acycpoly(G, p)
G
-
undirected graph or network
p
variable in acyclicity poly (usually edge probability)
Important: The networks package has been deprecated. Use the superseding command GraphTheory[AcyclicPolynomial] instead.
The acyclicity polynomial in variable p gives the probability that G is acyclic when each edge operates with probability p.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[acycpoly](...).
with⁡networks:
G≔complete⁡4:
addedge⁡1,1,2,G:
acycpoly⁡G,p
−−1+p5⁢10⁢p3+9⁢p2+4⁢p+1
acycpoly⁡G,12⁢2nops⁡edges⁡G
52
See Also
GraphTheory
GraphTheory[AcyclicPolynomial]
networks(deprecated)[rankpoly]
networks(deprecated)[tuttepoly]
with
Download Help Document