Girth - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

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 graph with 8 vertices and 12 edge(s)

(1)

GirthG

4

(2)

PPetersenGraph

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

(3)

GirthP

5

(4)

See Also

CycleBasis

OddGirth