|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chemaxon.calculations.TopologyAnalyser
Central class for accessing functions analysing the topology of a molecule.
Constructor Summary | |
TopologyAnalyser()
|
Method Summary | |
int |
aliphaticAtomCount()
Calculates the number of all aliphatic atoms in the molecule excluding hydrogens. |
int |
aliphaticBondCount()
Calculates the number of all aliphatic bonds in the molecule excluding bonds connected to hydrogens. |
int |
aliphaticRingCount()
Calculates the number of aliphatic ring systems of the molecule. |
int |
aromaticAtomCount()
Calculates the number of all aromatic atoms in the molecule. |
int |
aromaticBondCount()
Calculates the number of all aromatic bonds in the molecule. |
int |
aromaticRingCount()
Calculates the number of all aromatic ring systems in the molecule (SSSR). |
int |
atomCount()
Calculates the number of atoms in the molecule including implicit hydrogens. |
int |
bondCount()
Calculates the number of bonds in the molecule including bonds of implicit hydrogens. |
int |
chainAtomCount()
Calculates the number of chain atoms in the molecule excluding hydrogens. |
int |
chainBondCount()
Calculates the number of chain bonds in the molecule excluding bonds of hydrogen atoms. |
int |
fusedAliphaticRingCount()
Calculates the number of fused aliphatic rings (SSSR smallest set of smallest aliphatic rings) in the molecule. |
int |
fusedAromaticRingCount()
Calculates the number of fused aromatic rings (SSSR smallest set of smallest aromatic rings) in the molecule. |
int |
fusedRingCount()
Calculates the number of fused rings (SSSR smallest set of smallest rings) in the molecule. |
MoleculeGraph |
getMolecule()
Retrieves the input molecule |
int |
heteroaromaticRingCount()
Calculates the number of aromatic heterocycles in the molecule (aromatic rings containing non-carbon atoms. |
int |
heteroRingCount()
Calculates the number of heterocycles in the molecule (rings containing non-carbon atoms. |
boolean |
isAliphaticAtom(int a)
Determine if an atom is a member of an aromatic ring or not |
boolean |
isAromaticAtom(int a)
Determine if an atom is a member of an aromatic ring or not |
boolean |
isChainAtom(int a)
Determine if an atom a ring bond or a chain bond |
boolean |
isChainBond(int b)
Determine if a bond is a ring bond or a chain bond |
boolean |
isRingAtom(int a)
Determine if an atom a ring bond or a chain bond |
boolean |
isRingBond(int b)
Determine if a bond is a ring bond or a chain bond |
boolean |
isRotatableBond(int b)
Determine if a bond is a rotatable or not |
int |
largestRingSize()
Calculates the size of the largest ring in the molecule (SSSR based). |
int |
largestRingSizeOfAtom(int a)
Calculates the size of the largest ring an atom is a member of (SSSR based). |
int |
ringAtomCount()
Calculates the number of ring atoms in the molecule. |
int |
ringBondCount()
Calculates the number of ring bonds in the molecule. |
int |
ringCount()
Calculates the number of rings (SSSR smallest set of smallest rings) in the molecule. |
int |
ringCount(int size)
Calculates the number of rings (SSSR smallest set of smallest rings) of a given size in the molecule. |
int |
ringCountOfAtom(int a)
Calculates the number of rings (SSSR smallest set of smallest rings) an atom is part of. |
int |
rotatableBondCount()
Calculates the number of rotatable bonds in the molecule. |
void |
setMolecule(MoleculeGraph mol)
Specifies a molecule to calculate with. |
int |
smallestRingSize()
Calculates the size of the smallest ring in the molecule. |
int |
smallestRingSizeOfAtom(int a)
Calculates the size of the smallest ring an atom is a member of. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TopologyAnalyser()
Method Detail |
public MoleculeGraph getMolecule()
public void setMolecule(MoleculeGraph mol)
mol
- the molecule to calculate withpublic int aliphaticAtomCount()
public int aliphaticBondCount()
public int aliphaticRingCount()
public int aromaticAtomCount()
public int aromaticBondCount()
public int aromaticRingCount()
public int atomCount()
public int bondCount()
public int chainAtomCount()
public int chainBondCount()
public int fusedAliphaticRingCount()
public int fusedAromaticRingCount()
public int fusedRingCount()
public int heteroaromaticRingCount()
public int heteroRingCount()
public boolean isAliphaticAtom(int a)
a
- index of the atom
public boolean isAromaticAtom(int a)
a
- index of the atom
public boolean isChainAtom(int a)
a
- index of the atom
public boolean isChainBond(int b)
b
- index of the bond
public boolean isRingAtom(int a)
a
- index of the atom
public boolean isRingBond(int b)
b
- index of the bond
public boolean isRotatableBond(int b)
b
- index of the bond
public int largestRingSize()
public int largestRingSizeOfAtom(int a)
public int ringAtomCount()
public int ringBondCount()
public int ringCount()
public int ringCount(int size)
size
- size of the ring to count
public int ringCountOfAtom(int a)
a
- index of the atom
public int rotatableBondCount()
public int smallestRingSize()
public int smallestRingSizeOfAtom(int a)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |