Class RareElementChecker

  • All Implemented Interfaces:
    StructureChecker, chemaxon.license.Licensable, PropertyChangeListener, Cloneable, EventListener

    @PublicAPI
    public class RareElementChecker
    extends AtomTypeChecker
    A descendant of AtomTypeChecker detecting structures containing elements which are usually rare in organic/drug molecules. The following elemts are considered common: H, Li, Na, K, Mg, Ca, B, C, N, O, F, Cl, Br, I, Al, P, S, Cr, Mn, Fe, Co, Ni, Cu, Zn. All other elements are considered rare.
    Since:
    Marvin 5.4
    • Constructor Detail

      • RareElementChecker

        public RareElementChecker()
        Default constructor
    • Method Detail

      • check

        protected boolean check​(Molecule molecule,
                                MolAtom component)
        Description copied from class: ComponentChecker
        Checks if the component with index i has problem
        Overrides:
        check in class AtomTypeChecker
        Parameters:
        molecule - is a Molecule instance
        component - the current component to check
        Returns:
        true if the component has problem, false otherwise