IsCompleteGraph( gamma )
IsCompleteGraph( gamma, mustloops )
This boolean function returns true if and only if the graph gamma is
a complete graph. The optional boolean parameter mustloops determines
whether all loops must be present for gamma to be considered a complete
graph (default: false (loops are ignored)).
See also CompleteGraph.
gap> IsCompleteGraph( NullGraph( Group(()), 3 ) );
false
gap> IsCompleteGraph( NullGraph( Group(()), 1 ) );
true
gap> IsCompleteGraph( CompleteGraph(SymmetricGroup(3)), true );
false
GAP 3.4.4