GraphTheory[SpecialGraphs] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Discrete Mathematics : Graph Theory : GraphTheory Package : SpecialGraphs : GraphTheory/SpecialGraphs/GearGraph

GraphTheory[SpecialGraphs]

  

GearGraph

  

construct gear graph

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

GearGraph(n)

Parameters

n

-

positive integer

Description

• 

The GearGraph(n) function creates the gear graph on 2n+1 vertices.

• 

The gear graph, also called the bipartite wheel graph, can be seen as a wheel graph in which a vertex has been inserted between each vertex other than the central vertex.

Examples

withGraphTheory:

withSpecialGraphs:

GGearGraph5

GGraph 1: an undirected unweighted graph with 11 vertices and 15 edge(s)

(1)

EdgesG

0,2,0,4,0,6,0,8,0,10,1,2,1,10,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10

(2)

DrawGraphG

Compatibility

• 

The GraphTheory[SpecialGraphs][GearGraph] command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

SpecialGraphs

WheelGraph