|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchemaxon.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 |
asymmetricAtomCount()
Calculates the number of asymmetric atoms. |
int |
atomCount()
Calculates the number of atoms in the molecule including implicit hydrogens. |
double |
balabanIndex()
Calculates the Balaban distance connectivity of the molecule, which is the average distance sum connectivity. |
int |
bondCount()
Calculates the number of bonds in the molecule including bonds of implicit hydrogens. |
int |
bondType(int b)
Determine the type of a bond (aromatic bonds are automatically recognized) |
int |
carboaromaticRingCount()
Calculates the number of aromatic carbocyclic rings in the molecule (aromatic rings containing carbon atoms only). |
int |
carboRingCount()
Calculates the number of carbocyclic rings in the molecule (rings containing carbon atoms only). |
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 |
chiralCenterCount()
Calculates the number of tetrahedral stereogenic centers. |
int |
cyclomaticNumber()
Calculates the smallest number of graph edges which must be removed such that no circuit remains. |
int |
distanceCount(int a,
int d)
Counts the given value in a row of the distance matrix. |
int |
distanceDegree(int a)
Calculates the distance degree of an atom, which is the sum of the corresponding row values in the distance matrix. |
int |
eccentricity(int a)
Calculates the eccentricity of an atom, which is the greatest value in the corresponding row of the distance matrix. |
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[] |
graphInvariant()
|
double |
hararyIndex()
Calculates the Harary index which is the half-sum of the off-diagonal elements of the reciprocal molecular distance matrix of the molecule. |
int |
heteroaromaticRingCount()
Calculates the number of aromatic heterocyclic rings in the molecule (aromatic rings containing non-carbon atoms). |
int |
heteroRingCount()
Calculates the number of heterocyclic rings in the molecule (rings containing non-carbon atoms. |
int |
hyperWienerIndex()
Calculates the hyper Wiener index of the molecule. |
boolean |
isAliphaticAtom(int a)
Determines if an atom is a member of an aromatic ring or not. |
boolean |
isAromaticAtom(int a)
Determines if an atom is a member of an aromatic ring or not. |
boolean |
isAsymmetricAtom(int a)
Determines if an atom is asymmetric or not. |
boolean |
isChainAtom(int a)
Determines if an atom a ring bond or a chain bond. |
boolean |
isChainBond(int b)
Determines if a bond is a ring bond or a chain bond. |
boolean |
isChiralCenter(int a)
Determines if an atom can be a tetrahedral stereogenic center. |
boolean |
isConnected()
Determines if the molecule is a connected graph or not. |
boolean |
isConnected(int atom1,
int atom2)
Determines if two atoms are members of a connected graph or not. |
boolean |
isRingAtom(int a)
Determines if an atom a ring bond or a chain bond. |
boolean |
isRingBond(int b)
Determines if a bond is a ring bond or a chain bond. |
boolean |
isRotatableBond(int b)
Determines 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 |
plattIndex()
Calculates the Platt index of the molecule which is equal to the total sum of the edge degrees of a molecular graph. |
double |
randicIndex()
Calculates the Randic index or molecular connectivity index as the harmonic sum of the geometric means of the node degrees for each edge. |
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. |
void |
setMolecule(MoleculeGraph mol,
int aromatizationMode)
Specifies a molecule to calculate with. |
int |
shortestPath(int atom1,
int atom2)
Calculates the shortest topological path (number of bonds) between two atoms. |
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. |
double |
stericEffectIndex(int a)
Calculates topological steric effect index (TSEI) of an atom from covalent radii values and topological distances. |
int |
szegedIndex()
Calculates the Szeged index of the molecule. |
int |
wienerIndex()
Calculates the Wiener index of the molecule, which is the average topological atom distance (half of the sumof all atom distances) in the molecule. |
int |
wienerPolarity()
Calculates the Wiener polarity number of the molecule, which is the number of 3 bond length distances in the molecule. |
| 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 with
public void setMolecule(MoleculeGraph mol,
int aromatizationMode)
mol - the molecule to calculate witharomatizationMode - specifies the algorithm for aromatization.
Possible values:
public int aliphaticAtomCount()
public int aliphaticBondCount()
public int aliphaticRingCount()
public int aromaticAtomCount()
public int aromaticBondCount()
public int aromaticRingCount()
public int asymmetricAtomCount()
public int atomCount()
public double balabanIndex()
public int bondCount()
public int bondType(int b)
b - index of the bond
public int carboRingCount()
public int carboaromaticRingCount()
public int chainAtomCount()
public int chainBondCount()
public int chiralCenterCount()
public int cyclomaticNumber()
public int distanceCount(int a,
int d)
a - atom indexd - the distance value to count
public int distanceDegree(int a)
a - atom index
public int eccentricity(int a)
a - atom index
public int fusedAliphaticRingCount()
public int fusedAromaticRingCount()
public int fusedRingCount()
public int[] graphInvariant()
public double hararyIndex()
public int heteroaromaticRingCount()
public int heteroRingCount()
public int hyperWienerIndex()
public boolean isAliphaticAtom(int a)
a - index of the atom
public boolean isAromaticAtom(int a)
a - index of the atom
public boolean isAsymmetricAtom(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 isChiralCenter(int a)
a - index of the atom
public boolean isConnected()
public boolean isConnected(int atom1,
int atom2)
atom1 - index of the first atomatom2 - index of the second atom
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 plattIndex()
public double randicIndex()
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 shortestPath(int atom1,
int atom2)
atom1 - Index of the first atom.atom2 - Index of the second atom.
public int smallestRingSize()
public int smallestRingSizeOfAtom(int a)
public double stericEffectIndex(int a)
a - index of the atom
public int szegedIndex()
public int wienerIndex()
public int wienerPolarity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||