Girth - Maple Help

Online Help

All Products    Maple    MapleSim


GraphTheory

  

Girth

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Girth(G)

Parameters

G

-

undirected unweighted graph

Description

• 

Girth returns the length of the shortest cycle in a simple graph.

Examples

withGraphTheory:

withSpecialGraphs:

GHypercubeGraph3

GGraph 1: an undirected unweighted graph with 8 vertices and 12 edge(s)

(1)

GirthG

4

(2)

PPetersenGraph

PGraph 2: an undirected unweighted graph with 10 vertices and 15 edge(s)

(3)

GirthP

5

(4)

See Also

CycleBasis

OddGirth