networks
cyclebase
finds a cycle basis in an undirected graph
Calling Sequence
Parameters
Description
Examples
cyclebase(G)
G
-
graph or network
Important: The networks package has been deprecated. Use the superseding command GraphTheory[CycleBasis] instead.
A spanning tree is found, and fundcyc() is then used to find all fundamental cycles with respect to this tree. They are returned as a set of cycles with each cycle being represented by a set of edges.
The subgraphs corresponding to these cycles can be constructed using induce().
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[cyclebase](...).
with⁡networks:
G≔complete⁡4:
cyclebase⁡G
e1,e3,e5,e2,e3,e6,e1,e3,e4,e6
See Also
GraphTheory
GraphTheory[CycleBasis]
networks(deprecated)[fundcyc]
networks(deprecated)[induce]
networks(deprecated)[span]
with
Download Help Document