Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] InterpreterUtil.areIsomorphic(graph1, graph2) not working

Dear Faezeh,

I would need more information to find out what the problem is. Could you maybe provide the example models? Maybe also the code that you use for comparing them with Henshin?

What you can try out is whether EcoreUtil.equals(..,..) also returns false. In general, if EcoreUtil.equals() returns true, then InterpreterUtil.areIsomorphic() should also return true (but not necessarily in the opposite direction).

Cheers,
Christian 


2014-03-19 15:44 GMT+01:00 Faezeh Ghassemi <faezeh.ghassemi@xxxxxxxxx>:
Dear Henshin developers,

I am trying to use the method InterpreterUtil.areIsomorphic(graph1, graph2) for two models which I have previously created with EMF.

I load the models in two different resources, using EMF mechanism, and afterwards I transform the models into the Henshin format (EGraph), and then I compare them using the method areIsomorphic. But it returns false,
although the model files are exactly identical!

I would appreciate any help or guide in model comparison using Henshin :)

Best regards,
Faezeh Ghassemi

_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev



Back to the top