[octet-devel] Re: [QSAR-devel] Proposal for Molecule, Atom, BondingSystem API changes
Status: Alpha
Brought to you by:
r_apodaca
From: E.L. W. <e.w...@sc...> - 2004-11-29 08:35:21
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 27 November 2004 19:56, rich apodaca wrote: > I would like to propose some additional changes to the > Octet API (http://octet.sf.net). > > These methods would be removed from the Atom > interface: > > iterateNeighbors() > countNeighbors() > isConnectedTo(Atom atom) > countElectrons() > iterateBondingSystems() > countBondingSystems() > countReservedElectrons() > toNeighborArray() > toBondingSystemArray() > getConfiguration() > > ... and their equivalents would be placed into either > the Molecule or AtomGraph interface. For example, > Atom.getConfiguration() would become > Molecule.getConfiguration(Atom atom). AtomGraph > already has iterateNeighbors(Atom atom) and > countNeighbors(Atom atom). > > I believe these changes will result in a more > consistent, robust system. CDK uses the same approach... those kind of methods are in AtomContainer, and not in Atom itself. So no objection I guess. Egon =2D --=20 e.w...@sc... PhD-student on Molecular Representation in Chemometrics Radboud University Nijmegen http://www.cac.science.ru.nl/people/egonw/ GPG: 1024D/D6336BA6 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (SunOS) iD8DBQFBqt8/d9R8I9Yza6YRAt4PAJ9UwlLDS3mFunCvA4ijbkIFf8vGowCgyHJ9 0McdtGkJXhFigkpEkxgpQWk=3D =3D0JdO =2D----END PGP SIGNATURE----- |