Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8717329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:16:47+00:00 2026-06-13T06:16:47+00:00

Graph isomorphism is a well studied problem in computer science but there are no

  • 0

Graph isomorphism is a well studied problem in computer science but there are no polynomial time algorithms known(there are some claims but none of them have been proven yet).

I have to test isomorphism of two graph but for my case the problem is slightly different. The size of the graph is less than, say 10 or 11, that is less number of vertices. There is no bound on the number of edges that is graph can be dense or sparse. The number of such pairwise testing(isomorphism checks) will be around 10^8.

If someone could suggest a few algorithms which are best suited for such a case. Also it would be great if algorithm can be parallelized.

Any help appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:16:48+00:00Added an answer on June 13, 2026 at 6:16 am

    This answer relies on the fact that one of the two graphs will be the same for all of your isomorphism checks. There is a large variety of numbers you could compute for every node which are invariant under relabeling:

    • The degree of the node
    • The sum of the degrees of its neighbours
    • The sum of the degrees of the neighbors of its neighbours
    • For those neighbours with degree k, the sum of the degrees of their neighbours
    • The number of loops of length k that contain this node
    • The maximal distance from this node to any other node
    • The number of nodes at distance k from this node
    • …

    You can take your reference graph and compute several of these numbers for every node. With a bit of luck, you’ll find a set of functions which is not too costly to compute, and for which the resulting numbers will uniquely identify each node. You might even be able to hash these numbers down to a single number. In that case, you can process each input graph as follows: by computing these numbers and their hash for every node, you can quickly determine which node from the reference graph corresponds to each node of the input graph, if any. Once you have a one-to-one correspondence between nodes, checking whether all the edges fit is trivial.

    If you don’t find a cheap enough set of functions that uniquely describe every node, I would expect that in most real world graphs (i.e. not specifically constructed for high symmetry), you would still obtain rather small equivalence classes, so checking for all possible permutations in each class might still be cheap enough for your application.

    Just as an idea: if performance is a real issue here, you might even try to turn the result of your analysis into customized program code. So for every reference graph, you’d have your application compile a small piece of code which it can then load dynamically to perform these checks with all the power that compiler-optimized machine code can give you. Not sure whether that’s worth the effort, but I think it might be an interesting approach.

    Highly symmetric graphs may require more work. You could try to identify isomorphisms of your graph up front. If, for example, you can interchange the labels of v1 and v2 without affecting the graph structure, then for every input graph you process, if you are unsure whether to map a given vertex to v1 or v2, you know that it doesn’t matter, so you don’t have to try both alternatives but can simply choose v1 arbitrarily. This greatly reducs the number of permutations you’ll have to check.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that graph Isomorphism should be verified in polynomial time but I'm a
I've put some research in on the topic of graph isomorphism for planar 3-connected
In Graph, there is a triangular strip problem. Basically, we have a set of
I have a graph representing users and some articles they wrote. I need to
There is a directed graph having a single designated node called root from which
Like facebook http://graph.facebook.com/userid/picture , is there an easy way to get multiple profile pictures
Is there any graph or mechanism to test the performance of an android app?
The graph is very large but undirected. Edges are unweighted. In my implementation, I
https://graph.facebook.com/me?fields=friends.limit(100).fields(name,books)&access_token=############## I believe it is 1. But in the facebook documentation it says, batch
I graph data as follows but I can't seem to get the axis labels

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.