63.21 IsEdge

IsEdge( gamma, e )

This boolean function returns true if and only if e is an edge of gamma.

    gap> IsEdge( JohnsonGraph( 4, 2 ), [ 1, 2 ] );
    true
    gap> IsEdge( JohnsonGraph( 4, 2 ), [ 1, 6 ] );
    false 

Previous Up Top Next
Index

GAP 3.4.4
April 1997