compute graph intersection of graphs
The GraphIntersection function returns a graph G which is the intersection of the graphs G1,...,Gs, such that
Note that the graphs G1,...,Gs must all be directed or all undirected, and the resulting graph is directed or undirected, respectively. Likewise, the graphs G1,...,Gs must all be weighted or all unweighted, and the resulting graph is then weighted or unweighted, respectively.
Moreover, if G1,...,Gs are weighted graphs, the resulting graph is a weighted graph where the weight of any edge is the minimum of the weights of that edge in G1,...,Gs.
G1≔Graph 1: an undirected unweighted graph with 5 vertices and 4 edge(s)
G2≔Graph 2: an undirected unweighted graph with 5 vertices and 8 edge(s)
The GraphTheory[GraphIntersection] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document
What kind of issue would you like to report? (Optional)