Number of bonds

User df6a016d07

30-03-2005 09:51:22

Hello,





Is there an easy way implemented in your API to calculate the number of bonds between two given atoms ? I'm lost in all the Chemical Graphs classes :-)





Thanks in advance

ChemAxon efa1591b5a

30-03-2005 12:04:34

No such API method is available at the moment. The TopologyAnalizer class will provide such method in the next major release of JChem.





In the meantime you can use the ShortestPath class which does the job. The source code is uploaded in the Contrib forum area, follow this link: http://www.chemaxon.hu/forum/ftopic507.html.





Regards,


Miklos

User df6a016d07

30-03-2005 12:11:51

Thanks a lot !