Ask Your Question
1

Number of graph automorphisms

asked 2018-07-14 22:33:57 -0500

ASH gravatar image

Using the below command in SAGE 8.2, the list of automorphisms for a graph could be attained. G.automorphism_group().list()

What is the command for computing the number of graph automorphoisms?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2018-07-15 04:17:19 -0500

tmonteil gravatar image

If you give a name to your automorphism group:

sage: A = G.automorphism_group()

Then, you can see all methods that apply to it:

sage: A.<TAB>

where <TAB> stands for the tabulation key.

You can see that there is a cardinality method that answers your question:

sage: A.cardinality()

If you could not find such a method, you could always compute the length of the list you obtained:

sage: len(A.list())
edit flag offensive delete link more

Comments

Thanks. It works.

ASH gravatar imageASH ( 2018-07-15 06:30:12 -0500 )edit

You can also enter A? to get full documentation on the group instance listing all the implemented methods.

Iguananaut gravatar imageIguananaut ( 2018-07-16 04:57:13 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-14 22:33:57 -0500

Seen: 38 times

Last updated: Jul 15