I'm working with *.jar files and on graph isomorphism. I want to check for graph isomorphism between two *.jar files. Is there a library for python or ruby for this. Can i do it with igraph or what ?
thanks.
I'm working with *.jar files and on graph isomorphism. I want to check for graph isomorphism between two *.jar files. Is there a library for python or ruby for this. Can i do it with igraph or what ?
thanks.
Here is an effort at using NetworkX isomorphism checking as a basis for doing what I understand you to be asking...
Imagine you create text files with the contents of two jar files using, for example, the methods here.
This code would load the two jar files and load the graphs into NetworkX. The example here is simplified with only two levels in each pathname, but the general principle remains the same... If you post some example contents, we could tweak the
get_edges()
function to deal with deeper levels of nesting.This would print:
Hope this helps.