Ask Your Question
1

Number of graph automorphisms

asked 6 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 6 years ago

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())
Preview: (hide)
link

Comments

Thanks. It works.

ASH gravatar imageASH ( 6 years ago )

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

Iguananaut gravatar imageIguananaut ( 6 years ago )

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: 6 years ago

Seen: 542 times

Last updated: Jul 15 '18