Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.xmlcml.cml.topology
Interface RingNucleus  view RingNucleus download RingNucleus.java

All Superinterfaces:
org.xmlcml.cml.subset.BondSet, java.lang.Cloneable, org.xmlcml.cml.subset.ToolHashSet

public interface RingNucleus
extends org.xmlcml.cml.subset.BondSet

a nucleus of rings (e.g. androstane but not biphenyl (which would be 2 separate RingNucleus)). Contains information about which rings overlap.


Method Summary
 void addAtoms()
          add atoms from all the rings
 void addRing(Ring ring)
           
 int getCount()
          get number of rings
 void getRingOverlaps()
          find which rings have bonds in common
 java.util.Vector getRings(org.xmlcml.cml.CMLAtom atom)
          get Rings in which CMLAtom particpates
 java.util.Vector getRings(org.xmlcml.cml.CMLBond bond)
          get Rings in which CMLBond particpates
 java.util.Vector getRingVector()
          get vector of Rings
 void getSSSR()
          "Smallest set of smallest rings".
 java.lang.String toString()
           
 
Methods inherited from interface org.xmlcml.cml.subset.BondSet
addBond, addSubstituent, and, calculateCoordinates, contains, containsAtom, getAtomSet, getCoord2, getSubstituentDirection, getSubstitutedAtomMap, not, or, setCoord2, substituentString, transformAndAddTo, transformBy, translateBy, xor
 
Methods inherited from interface org.xmlcml.cml.subset.ToolHashSet
add, addAll, and, clone, contains, debug, getId, iterator, not, or, remove, removeAll, retainAll, setId, size, xor
 

Method Detail

addRing

public void addRing(Ring ring)
             throws org.xmlcml.cml.CMLException

getCount

public int getCount()
get number of rings


getSSSR

public void getSSSR()
             throws org.xmlcml.cml.CMLException
"Smallest set of smallest rings". Crude - not guaranteed to find minimum


getRingOverlaps

public void getRingOverlaps()
                     throws org.xmlcml.cml.CMLException
find which rings have bonds in common


getRingVector

public java.util.Vector getRingVector()
get vector of Rings


addAtoms

public void addAtoms()
              throws org.xmlcml.cml.CMLException
add atoms from all the rings


getRings

public java.util.Vector getRings(org.xmlcml.cml.CMLAtom atom)
get Rings in which CMLAtom particpates


getRings

public java.util.Vector getRings(org.xmlcml.cml.CMLBond bond)
get Rings in which CMLBond particpates


toString

public java.lang.String toString()