Ask Your Question
1

Automorphism group of weighted graph

asked 2018-06-28 03:22:14 +0200

sleeve chen gravatar image

updated 2018-06-28 03:28:53 +0200

I know we can use sage to find the group of automorphisms of a graph $G$:

G.automorphism_group().list()

However, the above way can only be used to the unweighted graph. So for example:

G = matrix([[0,10,0],
            [10,0,1],
            [0,1,0]])
G1 = Graph(G, weighted = True)
G1.show(edge_labels=True )  
G.automorphism_group().list()

The result is:

[(), (0,2)]

However, this result is not correct (correct for unweighted case). This is because $AD\neq DA$, where

$$D = \begin{bmatrix} 0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 0\end{bmatrix},$$ which is a permutation matrix and

$$A = \begin{bmatrix} 0 & 10 & 0 \\ 10 & 0 & 1 \\ 0 & 1 & 0\end{bmatrix},$$ which is an adjacency matrix.

Can we use SAGE to find the group of automorphisms of a graph?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-06-29 20:08:35 +0200

rburing gravatar image

Do you mean G1.automorphism_group(edge_labels=True)?

edit flag offensive delete link more

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-06-28 03:22:14 +0200

Seen: 539 times

Last updated: Jun 28 '18