r/computerscience • • Jun 11 '25

Help Comparing two adjacency matrices for graph equality

Hello folks , do you know any algorithm(or any implementation in any programming langage) to compare two adjacency matrices for graph equality?

9 Upvotes

6 comments sorted by

View all comments

Show parent comment

14

u/JoJoModding Jun 11 '25

Then you are looking at the Graph Isomorphism Problem, which has its own Wikipedia article. Googling for "graph isomorphism solver <language>" will bring up lots of implementation, of varying quality.