Class TotalRingConnectionAtom

All Implemented Interfaces:
Cloneable, IAtom, IAtomType, ICDKObject, IChemObject, IElement, IIsotope, IQueryAtom

@Deprecated public final class TotalRingConnectionAtom extends SMARTSAtom
Deprecated.
This matcher checks the number of ring connections of the checked Atom with other Atom's. This cannot be matched without prepossessing Atom - SMARTSAtomInvariants. The ring connectivity is encoded in smarts using x<NUMBER>.
Source code:
main
Belongs to CDK module:
smarts
Keywords:
SMARTS
  • Constructor Details

    • TotalRingConnectionAtom

      public TotalRingConnectionAtom(int ringConnectivity, IChemObjectBuilder builder)
      Deprecated.
      Create a matcher for the number of rings an atom belongs to.
      Parameters:
      ringConnectivity - number of ring bonds this atom is adjacent to
  • Method Details

    • matches

      public boolean matches(IAtom atom)
      Deprecated.
      Returns true of the given atom matches this IQueryAtom.
      Specified by:
      matches in interface IQueryAtom
      Overrides:
      matches in class SMARTSAtom
      Parameters:
      atom - IAtom to match against
      Returns:
      true, if this IQueryAtom matches the given IAtom