"Source: Text/Incidence/Graph.text";
"Line: 5398";
"Date: Mon Dec  2 16:19:42 2019";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Incidence/Graph.text, line: 5398
// Example: H158E18 ()
print "Example: H158E18";
ei := GetEchoInput();
SetEchoInput(true);
G := Graph<5 | { {1,2}, {2,3}, {3,4}, {4,5}, {5,1} }>;
 
AssignLabels(VertexSet(G), ["a", "b", "a", "b", "b"]);
A, _, _, _, _, C1 := AutomorphismGroup(G);
A;
C1;
B, _, _, _, _, C2 := AutomorphismGroup(G : IgnoreLabels := true);
B;
C2;
C, _, _, _, _, C3 := AutomorphismGroup(G : Stabilizer :=
[ { VertexSet(G) | 1, 2 } ]);
C;
#C;
assert $1 eq 1;
C3;
C4 := CanonicalGraph(G);
C4 eq C1;
assert $1;
SetEchoInput(ei);
