DisjointUnion - Maple Help

Online Help

All Products    Maple    MapleSim


GraphTheory

  

DisjointUnion

  

disjoint union

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

DisjointUnion(G1,...,Gs)

Parameters

G1,...,Gs

-

graphs

Description

• 

The DisjointUnion command returns the disjoint union of the input graphs.

Examples

withGraphTheory:

GDisjointUnionCycleGraph3,PathGraph3

GGraph 1: an undirected unweighted graph with 6 vertices and 5 edge(s)

(1)

VerticesG

1:1,1:2,1:3,2:1,2:2,2:3

(2)

DegreeSequenceG

2,2,2,1,2,1

(3)

See Also

CartesianProduct

GraphJoin

GraphUnion