63.58 NewGroupGraph

NewGroupGraph( G, gamma )

This function returns a copy delta of gamma, except that the group associated with delta is G, which is a assumed to be a subgroup of Aut(<delta>).

Note that the result of some functions of a graph depend on the group associated with that graph (which must always be a subgroup of the automorphism group of the graph).

    gap> gamma := JohnsonGraph(4,2);;
    gap> aut := AutGroupGraph(gamma);
    Group( (3,4), (2,3)(4,5), (1,2)(5,6) )
    gap> Size(gamma.group);
    24
    gap> Size(aut);
    48
    gap> delta := NewGroupGraph( aut, gamma );;
    gap> Size(delta.group);
    48
    gap> IsIsomorphicGraph( gamma, delta );
    true 

Previous Up Top Next
Index

GAP 3.4.4
April 1997