public class StructureCheckerUtility extends Object
Constructor and Description |
---|
StructureCheckerUtility() |
Modifier and Type | Method and Description |
---|---|
static List<Molecule> |
getComponents(Molecule molecule)
A recursive algorithm collecting all components (reactants, agents and
products of reaction molecules, R-group definitions of Rg-Molecules) of
the molecule.
|
static boolean |
isRealAtom(MolAtom atom)
Gets whether the provided atom represents an atom (and not something that
should not be an atom)
|
static boolean |
isSpecialAtom(MolAtom atom)
Gets whether the provided atom is special
|
public static boolean isRealAtom(MolAtom atom)
atom
- the provided atompublic static boolean isSpecialAtom(MolAtom atom)
atom
- the atom to be checkedpublic static List<Molecule> getComponents(Molecule molecule)
molecule
- the target molecule