63.27 IsConnectedGraph

IsConnectedGraph( gamma )

This boolean function returns true if and only if gamma is (strongly) connected, i.e. if there is a (directed) path from x to y for every pair of vertices x,y of gamma.

    gap> IsConnectedGraph( JohnsonGraph(4,2) );
    true
    gap> IsConnectedGraph( NullGraph(SymmetricGroup(4)) );
    false 

Previous Up Top Next
Index

GAP 3.4.4
April 1997