All Implemented Interfaces:
Cloneable, IAtom, IAtomType, ICDKObject, IChemObject, IElement, IIsotope, IQueryAtom
Direct Known Subclasses:
AliphaticAtom, AliphaticSymbolAtom, AnyAtom, AromaticAtom, AromaticSymbolAtom, AtomicNumberAtom, ChiralityAtom, ExplicitConnectionAtom, FormalChargeAtom, HybridizationNumberAtom, HydrogenAtom, ImplicitHCountAtom, LogicalOperatorAtom, MassAtom, NonCHHeavyAtom, PeriodicGroupNumberAtom, ReactionRoleQueryAtom, RecursiveSmartsAtom, RingIdentifierAtom, RingMembershipAtom, SmallestRingAtom, TotalConnectionAtom, TotalHCountAtom, TotalRingConnectionAtom, TotalValencyAtom

@Deprecated public abstract class SMARTSAtom extends QueryAtom implements IQueryAtom
Deprecated.
Abstract smarts atom.
Source code:
main
Belongs to CDK module:
smarts
Keywords:
SMARTS
  • Constructor Details

  • Method Details

    • matches

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

      public boolean chiralityMatches(IAtom target, int tParity, int permParity)
      Deprecated.
      Check if the atom-based chirality of the target matches. This check is done post-matching and should only be checked on atoms which are know to have already been matched (matches(IAtom). Currently the only atom-based chirality allowed is tetrahedral stereo- chemistry. The
      Parameters:
      target - the matched target (required to verify 'OR' conditions)
      tParity - the parity (winding) of the target centre, 0=unspecified, 1=clockwise and -1=anticlockwise
      permParity - permutation parity of the query neighbors (will be multiplied by the query parity)