From: Jiao, D. <dj...@in...> - 2007-04-26 17:41:47
|
Hi, In the isSubgraph method in UniversalIsomorphismTest, the last line says return (getSubgraphMap(g1, g2) != null); This is causing some errors. For example, when matching a queryatomcontainer representing "C*C" to an atomcontainer representing "CCN", the getSubgraphMap method seems to return a list of two items. I guess it means the first two atoms matches. But C*C shouldn't be a subgraph of CCN. I think this line can be changed to (when the subgraphmap has identical number of atoms with the query atom container) return (getSubgraphMap(g1, g2).size() == g2.getAtomCount()); Is this correct? Thanks, David |