From: Egon W. <eg...@us...> - 2005-09-02 08:04:16
|
Update of /cvsroot/cdk/cdk/src/org/openscience/cdk/graph/invariant In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14714/src/org/openscience/cdk/graph/invariant Modified Files: ConjugatedPiSystemsDetector.java Log Message: Another interfaces transition batch Index: ConjugatedPiSystemsDetector.java =================================================================== RCS file: /cvsroot/cdk/cdk/src/org/openscience/cdk/graph/invariant/ConjugatedPiSystemsDetector.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ConjugatedPiSystemsDetector.java 30 Aug 2005 19:55:46 -0000 1.9 +++ ConjugatedPiSystemsDetector.java 2 Sep 2005 08:03:38 -0000 1.10 @@ -77,12 +77,12 @@ SetOfAtomContainers piSystemSet = new SetOfAtomContainers(); for (int i = 0; i < ac.getAtomCount(); i++) { - Atom atom = ac.getAtomAt(i); + org.openscience.cdk.interfaces.Atom atom = ac.getAtomAt(i); atom.setFlag(CDKConstants.VISITED, false); } for (int i = 0; i < ac.getAtomCount(); i++) { - Atom firstAtom = ac.getAtomAt(i); + org.openscience.cdk.interfaces.Atom firstAtom = ac.getAtomAt(i); // if this atom was already visited in a previous DFS, continue if (firstAtom.getFlag(CDKConstants.VISITED) || checkAtom(ac, firstAtom) == -1) { continue; @@ -140,7 +140,7 @@ *@param currentAtom The Atom to check *@return -1 if isolated, 0 if conjugated, 1 if cumulative db */ - private static int checkAtom(AtomContainer ac, Atom currentAtom) { + private static int checkAtom(AtomContainer ac, org.openscience.cdk.interfaces.Atom currentAtom) { int check = -1; Vector atoms = ac.getConnectedAtomsVector(currentAtom); Vector bonds = ac.getConnectedBondsVector(currentAtom); |