compute the automorphism group
Definition of Automorphism Group
AutomorphismGroup( G, opts )
(optional) zero or more options as specified below
storage=rectangular, sparse, or auto
This option controls whether the dense or sparse algorithm from the Nauty library is used. The values rectangular and sparse correspond to the dense and sparse algorithms, respectively, while the value auto automatically chooses which algorithm to employ based on a heuristic depending on the number of vertices and edges in G. The default is auto.
Let G be a graph with vertex set V.
An automorphism σ of a graph G is a permutation of V such that for any pair of vertices u and v in V, there is a (directed) edge from u to v in G if and only if there is a (directed) edge from σ⁡u to σ⁡v.
The set of automorphisms of G form a group. The group identity is the automorphism that is the identity mapping on V, and the group operation is function composition.
No general polynomial-time algorithm for computing graph automorphisms is presently known.
This command makes use of the Nauty library for computing automorphism groups and canonical labelings.
The AutomorphismGroup( G ) command computes the group of automorphisms of a given graph G.
The automorphism group is represented as a permutation group.
The graph G may be directed or undirected, but must be unweighted.
Compute the automorphism group of the cycle graph on 5 vertices and verify it is isomorphic to the dihedral group D5.
C5 ≔ CycleGraph⁡5
C5≔Graph 1: an undirected unweighted graph with 5 vertices and 5 edge(s)
G ≔ AutomorphismGroup⁡C5
Compute the automorphism group of the complete graph on 4 vertices and verify it is isomorphic to the symmetric group S4.
K4 ≔ CompleteGraph⁡4
K4≔Graph 2: an undirected unweighted graph with 4 vertices and 6 edge(s)
G ≔ AutomorphismGroup⁡K4
Compute the automorphism group of the Petersen graph and display its order.
PG ≔ SpecialGraphs:-PetersenGraph⁡
PG≔Graph 3: an undirected unweighted graph with 10 vertices and 15 edge(s)
G ≔ AutomorphismGroup⁡PG
The GraphTheory[AutomorphismGroup] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
Download Help Document
What kind of issue would you like to report? (Optional)