63.19 IsSimpleGraph

IsSimpleGraph( gamma )

This boolean function returns true if and only if the graph gamma is simple, that is, has no loops and whenever [x,y] is an edge then so is [y,x].

    gap> IsSimpleGraph( CompleteGraph( Group( (1,2,3) ), 3 ) );
    true
    gap> IsSimpleGraph( CompleteGraph( Group( (1,2,3) ), 3, true ) );
    false 

Previous Up Top Next
Index

GAP 3.4.4
April 1997