Class LonePairElectronChecker
java.lang.Object
org.openscience.cdk.tools.LonePairElectronChecker
Provides methods for checking whether an atoms lone pair electrons are saturated
with respect to a particular atom type.
- Author:
- Miguel Rojas
- Keywords:
- saturation, atom, valency
- Created on:
- 2006-04-01
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines of all atoms on the AtomContainer have the right number the lone pair electrons.booleanisSaturated(IAtomContainer container) Determines of all atoms on the AtomContainer have the right number the lone pair electrons.booleanisSaturated(IAtom atom, IAtomContainer ac) Checks if an Atom is saturated their lone pair electrons by comparing it with known AtomTypes.voidsaturate(IAtomContainer atomContainer) Saturates a molecule by setting appropriate number lone pair electrons.voidsaturate(IAtom atom, IAtomContainer ac) Saturates an IAtom by adding the appropriate number lone pairs.
-
Constructor Details
-
LonePairElectronChecker
public LonePairElectronChecker()
-
-
Method Details
-
isSaturated
Determines of all atoms on the AtomContainer have the right number the lone pair electrons.- Throws:
CDKException
-
allSaturated
Determines of all atoms on the AtomContainer have the right number the lone pair electrons.- Throws:
CDKException
-
isSaturated
Checks if an Atom is saturated their lone pair electrons by comparing it with known AtomTypes.- Returns:
- True, if it's right saturated
- Throws:
CDKException
-
saturate
Saturates a molecule by setting appropriate number lone pair electrons.- Throws:
CDKException
-
saturate
Saturates an IAtom by adding the appropriate number lone pairs.- Throws:
CDKException
-