Ask Your Question
1

Number of graph automorphisms

asked 2018-07-15 05:33:57 +0100

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 11:17:19 +0100

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 13:30:12 +0100 )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 11:57:13 +0100 )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-15 05:33:57 +0100

Seen: 491 times

Last updated: Jul 15 '18