QuikGraph icon indicating copy to clipboard operation
QuikGraph copied to clipboard

Graph isomorphism check

Open maruker opened this issue 4 years ago • 2 comments

I am looking for a graph library in C# that can perform isomorphism checks but can't find anything.

I also couldn't find an implementation in QuikGraph. Did I miss something or is there no isomorphism algorithm?

maruker avatar Nov 05 '21 16:11 maruker

Hello @maruker,

Unfortunately there is no isomorphism algorithm currently implemented in QuikGraph.

It can certainly be a nice improvement if such one is proposed by the library in the future.

KeRNeLith avatar Nov 08 '21 19:11 KeRNeLith

You can copy implementation of networkx tree isomorphism vf2 isomorphism

and see how other people implemented is_isomorphic in general here

Of course graph isomorphism is NP problem so there is no known polynomial time algorithm for this problem, but there is a lot of approximations and case-specific solutions.

Most of them can be found implemented in networkx python library.

Kemsekov avatar Aug 21 '22 09:08 Kemsekov