63.26 Girth

Girth( gamma )

This function returns the girth of gamma, which must be a simple graph. A girth of -1 is returned if gamma is a forest.

    gap> Girth( JohnsonGraph( 4, 2 ) );
    3 

Previous Up Top Next
Index

GAP 3.4.4
April 1997