|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchemaxon.calculations.TopologyAnalyser
public class TopologyAnalyser
Central class for accessing functions analysing the topology of a molecule.
Constructor Summary | |
---|---|
TopologyAnalyser()
|
Method Summary | |
---|---|
int |
aliphaticAtomCount()
Deprecated. as of release 5.5, replaced by Ring.aliphaticAtomCount() |
int |
aliphaticBondCount()
Deprecated. as of release 5.5, replaced by Ring.aliphaticBondCount() |
int |
aliphaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.aliphaticRingCount() |
int |
aliphaticRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.aliphaticRingCount(int) |
int[][] |
aliphaticRings()
Deprecated. as of release 5.5, replaced by Ring.aliphaticRings() |
int[][] |
aliphaticRings(int size)
Deprecated. as of release 5.5, replaced by Ring.aliphaticRings(int) |
int |
aromaticAtomCount()
Deprecated. as of release 5.5, replaced by Ring.aromaticAtomCount() |
int |
aromaticBondCount()
Deprecated. as of release 5.5, replaced by Ring.aromaticBondCount() |
int |
aromaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.aromaticRingCount() |
int |
aromaticRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.aromaticRingCount(int) |
int[][] |
aromaticRings()
Deprecated. as of release 5.5, replaced by Ring.aromaticRings() |
int[][] |
aromaticRings(int size)
Deprecated. as of release 5.5, replaced by Ring.aromaticRings(int) |
int |
asymmetricAtomCount()
Deprecated. as of release 5.5, replaced by Stereochemistry.asymmetricAtomCount() |
int[] |
asymmetricAtoms()
Deprecated. as of release 5.5, replaced by Stereochemistry.asymmetricAtoms() |
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)
Determines the type of a bond (aromatic bonds are automatically recognized) |
int |
carboaliphaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.carboaliphaticRingCount() |
int |
carboaromaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.carboaromaticRingCount() |
int |
carboRingCount()
Deprecated. as of release 5.5, replaced by Ring.carboRingCount() |
int |
carboRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.carboRingCount(int) |
int[][] |
carboRings()
Deprecated. as of release 5.5, replaced by Ring.carboRings() |
int[][] |
carboRings(int size)
Deprecated. as of release 5.5, replaced by Ring.carboRings(int) |
int |
chainAtomCount()
Deprecated. as of release 5.5, replaced by Ring.chainAtomCount() |
int |
chainBondCount()
Deprecated. as of release 5.5, replaced by Ring.chainBondCount() |
int |
chiralCenterCount()
Deprecated. as of release 5.5, replaced by Stereochemistry.chiralCenterCount() |
int[] |
chiralCenters()
Deprecated. as of release 5.5, replaced by Stereochemistry.chiralCenters() |
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 |
fragmentCount()
Calculates the number of fragments (disconnected parts) of the molecule. |
int |
fusedAliphaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.fusedAliphaticRingCount() |
int |
fusedAliphaticRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.fusedAliphaticRingCount(int) |
int[][] |
fusedAliphaticRings()
Deprecated. as of release 5.5, replaced by Ring.fusedAliphaticRings() |
int[][] |
fusedAliphaticRings(int size)
Deprecated. as of release 5.5, replaced by Ring.fusedAliphaticRings(int) |
int |
fusedAromaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.fusedAromaticRingCount() |
int |
fusedAromaticRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.fusedAromaticRingCount(int) |
int[][] |
fusedAromaticRings()
Deprecated. as of release 5.5, replaced by Ring.fusedAromaticRings() |
int[][] |
fusedAromaticRings(int size)
Deprecated. as of release 5.5, replaced by Ring.fusedAromaticRings(int) |
int |
fusedRingCount()
Deprecated. as of release 5.5, replaced by Ring.fusedRingCount() |
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 |
heteroaliphaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.heteroaliphaticRingCount() |
int |
heteroaliphaticRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.heteroaliphaticRingCount(int) |
int[][] |
heteroaliphaticRings()
Deprecated. as of release 5.5, replaced by Ring.heteroaliphaticRings() |
int[][] |
heteroaliphaticRings(int size)
Deprecated. as of release 5.5, replaced by Ring.heteroaliphaticRings(int) |
int |
heteroaromaticRingCount()
Deprecated. as of release 5.5, replaced by Ring.heteroaromaticRingCount() |
int |
heteroaromaticRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.heteroaromaticRingCount(int) |
int[][] |
heteroaromaticRings()
Deprecated. as of release 5.5, replaced by Ring.heteroaromaticRings() |
int[][] |
heteroaromaticRings(int size)
Deprecated. as of release 5.5, replaced by Ring.heteroaromaticRings(int) |
int |
heteroRingCount()
Deprecated. as of release 5.5, replaced by Ring.heteroRingCount() |
int |
heteroRingCount(int size)
Deprecated. as of release 5.5, replaced by Ring.heteroRingCount(int) |
int[][] |
heteroRings()
Deprecated. as of release 5.5, replaced by Ring.heteroRings() |
int[][] |
heteroRings(int size)
Deprecated. as of release 5.5, replaced by Ring.heteroRings(int) |
int |
hyperWienerIndex()
Calculates the hyper Wiener index of the molecule. |
boolean |
isAliphaticAtom(int a)
Deprecated. as of release 5.5, replaced by Ring.isAliphaticAtom(int) |
boolean |
isAromaticAtom(int a)
Deprecated. as of release 5.5, replaced by Ring.isAromaticAtom(int) |
boolean |
isAsymmetricAtom(int a)
Deprecated. as of release 5.5, replaced by Stereochemistry.isAsymmetricAtom(int) |
boolean |
isBarredAtom(int a)
Determines if an atom is is part of a certain functional group with high rotational barrier (amides, thioamides, sulphonamides). |
boolean |
isChainAtom(int a)
Deprecated. as of release 5.5, replaced by Ring.isChainAtom(int) |
boolean |
isChainBond(int b)
Deprecated. as of release 5.5, replaced by Ring.isChainBond(int) |
boolean |
isChiral()
Deprecated. as of release 5.5, replaced by Stereochemistry.isChiral() |
boolean |
isChiralCenter(int a)
Deprecated. as of release 5.5, replaced by Stereochemistry.isChiralCenter(int) |
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 |
isHinderedBiarylBridgeBond(int b)
Determines if a bond bridges two aryl systems having more than two ortho substituents. |
boolean |
isLicensed()
Returns information about the licensing of the product. |
boolean |
isRingAtom(int a)
Deprecated. as of release 5.5, replaced by Ring.isRingAtom(int) |
boolean |
isRingBond(int b)
Deprecated. as of release 5.5, replaced by Ring.isRingBond(int) |
boolean |
isRotatableBond(int b)
Determines if a bond is a rotatable or not |
int[] |
largestRing()
Deprecated. as of release 5.5, replaced by Ring.largestRing() |
int |
largestRingSize()
Deprecated. as of release 5.5, replaced by Ring.largestRingSize() |
int |
largestRingSizeOfAtom(int a)
Deprecated. as of release 5.5, replaced by Ring.largestRingSizeOfAtom(int) |
int[] |
largestRingSystem()
Deprecated. as of release 5.5, replaced by Ring.largestRingSystem() |
int |
largestRingSystemSize()
Deprecated. as of release 5.5, replaced by Ring.largestRingSystemSize() |
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()
Deprecated. as of release 5.5, replaced by Ring.ringAtomCount() |
int |
ringBondCount()
Deprecated. as of release 5.5, replaced by Ring.ringBondCount() |
int |
ringCount()
Deprecated. as of release 5.5, replaced by Ring.ringCount() |
int |
ringCount(int size)
Deprecated. as of release 5.5, replaced by Ring.ringCount(int) |
int |
ringCountOfAtom(int a)
Deprecated. as of release 5.5, replaced by Ring.ringCountOfAtom(int) |
int[][] |
rings()
Deprecated. as of release 5.5, replaced by Ring.rings(int) |
int[][] |
rings(int size)
Deprecated. as of release 5.5, replaced by Ring.rings(int) |
int |
ringSystemCount()
Deprecated. as of release 5.5, replaced by Ring.ringSystemCount() |
int |
ringSystemCount(int size)
Deprecated. as of release 5.5, replaced by Ring.ringSystemCount(int) |
int[][] |
ringSystems()
Deprecated. as of release 5.5, replaced by Ring.ringSystems() |
int[][] |
ringSystems(int size)
Deprecated. as of release 5.5, replaced by Ring.ringSystems(int) |
int |
rotatableBondCount()
Calculates the number of rotatable bonds in the molecule. |
void |
setLicenseEnvironment(java.lang.String env)
Every license can have a modifier environment that's typically an integration environment. |
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[] |
smallestRing()
Deprecated. as of release 5.5, replaced by Ring.smallestRing() |
int |
smallestRingSize()
Deprecated. as of release 5.5, replaced by Ring.smallestRingSize() |
int |
smallestRingSizeOfAtom(int a)
Deprecated. as of release 5.5, replaced by Ring.smallestRingSizeOfAtom(int) |
int[] |
smallestRingSystem()
Deprecated. as of release 5.5, replaced by Ring.smallestRingSystem() |
int |
smallestRingSystemSize()
Deprecated. as of release 5.5, replaced by Ring.smallestRingSystemSize() |
java.lang.String |
stereo(int a)
Deprecated. as of release 5.5, replaced by Stereochemistry.stereo(int) |
java.lang.String |
stereo(int a1,
int a2)
Deprecated. as of release 5.5, replaced by Stereochemistry.stereo(int, int) |
int |
stereoDoubleBondCount()
Deprecated. as of release 5.5, replaced by Stereochemistry.stereoDoubleBondCount() |
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 withpublic void setMolecule(MoleculeGraph mol, int aromatizationMode)
mol
- the molecule to calculate witharomatizationMode
- specifies the algorithm for aromatization. Possible values:
@Deprecated public int aliphaticAtomCount()
Ring.aliphaticAtomCount()
@Deprecated public int aliphaticBondCount()
Ring.aliphaticBondCount()
@Deprecated public int aliphaticRingCount()
Ring.aliphaticRingCount()
@Deprecated public int aliphaticRingCount(int size)
Ring.aliphaticRingCount(int)
size
- size of the ring to count
@Deprecated public int[][] aliphaticRings()
Ring.aliphaticRings()
@Deprecated public int[][] aliphaticRings(int size)
Ring.aliphaticRings(int)
size
- size of the aliphatic rings to return
@Deprecated public int aromaticAtomCount()
Ring.aromaticAtomCount()
@Deprecated public int aromaticBondCount()
Ring.aromaticBondCount()
@Deprecated public int aromaticRingCount()
Ring.aromaticRingCount()
@Deprecated public int aromaticRingCount(int size)
Ring.aromaticRingCount(int)
size
- size of the ring to count
@Deprecated public int[][] aromaticRings()
Ring.aromaticRings()
@Deprecated public int[][] aromaticRings(int size)
Ring.aromaticRings(int)
size
- size of the aromatic rings to return
@Deprecated public int asymmetricAtomCount()
Stereochemistry.asymmetricAtomCount()
@Deprecated public int[] asymmetricAtoms()
Stereochemistry.asymmetricAtoms()
public int atomCount()
public double balabanIndex()
public int bondCount()
public int bondType(int b)
b
- index of the bond
@Deprecated public int carboaliphaticRingCount()
Ring.carboaliphaticRingCount()
@Deprecated public int carboaromaticRingCount()
Ring.carboaromaticRingCount()
@Deprecated public int carboRingCount()
Ring.carboRingCount()
@Deprecated public int carboRingCount(int size)
Ring.carboRingCount(int)
size
- size of the rings to count
@Deprecated public int[][] carboRings()
Ring.carboRings()
@Deprecated public int[][] carboRings(int size)
Ring.carboRings(int)
size
- size of the rings to count
@Deprecated public int chainAtomCount()
Ring.chainAtomCount()
@Deprecated public int chainBondCount()
Ring.chainBondCount()
@Deprecated public int chiralCenterCount()
Stereochemistry.chiralCenterCount()
@Deprecated public int[] chiralCenters()
Stereochemistry.chiralCenters()
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 fragmentCount()
@Deprecated public int fusedAliphaticRingCount()
Ring.fusedAliphaticRingCount()
@Deprecated public int fusedAliphaticRingCount(int size)
Ring.fusedAliphaticRingCount(int)
size
- size of the fused aliphatic rings to count
@Deprecated public int[][] fusedAliphaticRings()
Ring.fusedAliphaticRings()
@Deprecated public int[][] fusedAliphaticRings(int size)
Ring.fusedAliphaticRings(int)
size
- size of the fused aliphatic rings to count
@Deprecated public int fusedAromaticRingCount()
Ring.fusedAromaticRingCount()
@Deprecated public int fusedAromaticRingCount(int size)
Ring.fusedAromaticRingCount(int)
size
- size of the fused aromatic rings to count
@Deprecated public int[][] fusedAromaticRings()
Ring.fusedAromaticRings()
@Deprecated public int[][] fusedAromaticRings(int size)
Ring.fusedAromaticRings(int)
size
- size of the fused aromatic rings to count
@Deprecated public int fusedRingCount()
Ring.fusedRingCount()
public int[] graphInvariant()
public double hararyIndex()
@Deprecated public int heteroaliphaticRingCount()
Ring.heteroaliphaticRingCount()
@Deprecated public int heteroaliphaticRingCount(int size)
Ring.heteroaliphaticRingCount(int)
size
- size of the heteroaliphatc rings to count
@Deprecated public int[][] heteroaliphaticRings()
Ring.heteroaliphaticRings()
@Deprecated public int[][] heteroaliphaticRings(int size)
Ring.heteroaliphaticRings(int)
size
- size of the heteroaliphatic rings to count
@Deprecated public int heteroaromaticRingCount()
Ring.heteroaromaticRingCount()
@Deprecated public int heteroaromaticRingCount(int size)
Ring.heteroaromaticRingCount(int)
size
- size of the heteroaromatic rings to count
@Deprecated public int[][] heteroaromaticRings()
Ring.heteroaromaticRings()
@Deprecated public int[][] heteroaromaticRings(int size)
Ring.heteroaromaticRings(int)
size
- size of the heteroaromatic rings to count
@Deprecated public int heteroRingCount()
Ring.heteroRingCount()
@Deprecated public int heteroRingCount(int size)
Ring.heteroRingCount(int)
size
- size of the rings to count
@Deprecated public int[][] heteroRings()
Ring.heteroRings()
@Deprecated public int[][] heteroRings(int size)
Ring.heteroRings(int)
size
- size of the hetero rings to return (zero returns all)
public int hyperWienerIndex()
@Deprecated public boolean isAliphaticAtom(int a)
Ring.isAliphaticAtom(int)
a
- index of the atom
@Deprecated public boolean isAromaticAtom(int a)
Ring.isAromaticAtom(int)
a
- index of the atom
@Deprecated public boolean isAsymmetricAtom(int a)
Stereochemistry.isAsymmetricAtom(int)
a
- index of the atom
public boolean isBarredAtom(int a)
a
- index of the atom
@Deprecated public boolean isChainAtom(int a)
Ring.isChainAtom(int)
a
- index of the atom
@Deprecated public boolean isChainBond(int b)
Ring.isChainBond(int)
b
- index of the bond
@Deprecated public boolean isChiral()
Stereochemistry.isChiral()
@Deprecated public boolean isChiralCenter(int a)
Stereochemistry.isChiralCenter(int)
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 isHinderedBiarylBridgeBond(int b)
b
- index of the bond
@Deprecated public boolean isRingAtom(int a)
Ring.isRingAtom(int)
a
- index of the atom
@Deprecated public boolean isRingBond(int b)
Ring.isRingBond(int)
b
- index of the bond
public boolean isRotatableBond(int b)
b
- index of the bond
@Deprecated public int[] largestRing()
Ring.largestRing()
@Deprecated public int largestRingSize()
Ring.largestRingSize()
@Deprecated public int largestRingSizeOfAtom(int a)
Ring.largestRingSizeOfAtom(int)
@Deprecated public int[] largestRingSystem()
Ring.largestRingSystem()
@Deprecated public int largestRingSystemSize()
Ring.largestRingSystemSize()
public int plattIndex()
public double randicIndex()
@Deprecated public int ringAtomCount()
Ring.ringAtomCount()
@Deprecated public int ringBondCount()
Ring.ringBondCount()
@Deprecated public int ringCount()
Ring.ringCount()
@Deprecated public int ringCount(int size)
Ring.ringCount(int)
size
- size of the ring to count
@Deprecated public int ringCountOfAtom(int a)
Ring.ringCountOfAtom(int)
a
- index of the atom
@Deprecated public int[][] rings()
Ring.rings(int)
@Deprecated public int[][] rings(int size)
Ring.rings(int)
size
- size of the ring systems to return
@Deprecated public int ringSystemCount()
Ring.ringSystemCount()
@Deprecated public int ringSystemCount(int size)
Ring.ringSystemCount(int)
size
- size of the ring to count
@Deprecated public int[][] ringSystems()
Ring.ringSystems()
@Deprecated public int[][] ringSystems(int size)
Ring.ringSystems(int)
size
- size of the ring systems to return
public int rotatableBondCount()
public int shortestPath(int atom1, int atom2)
atom1
- Index of the first atom.atom2
- Index of the second atom.
@Deprecated public int[] smallestRing()
Ring.smallestRing()
@Deprecated public int smallestRingSize()
Ring.smallestRingSize()
@Deprecated public int smallestRingSizeOfAtom(int a)
Ring.smallestRingSizeOfAtom(int)
@Deprecated public int[] smallestRingSystem()
Ring.smallestRingSystem()
@Deprecated public int smallestRingSystemSize()
Ring.smallestRingSystemSize()
@Deprecated public java.lang.String stereo(int a)
Stereochemistry.stereo(int)
a
- index of the atom
@Deprecated public java.lang.String stereo(int a1, int a2)
Stereochemistry.stereo(int, int)
a1
- index of the atom at one end of the double bonda2
- index of the atom at the other end of the double bond
@Deprecated public int stereoDoubleBondCount()
Stereochemistry.stereoDoubleBondCount()
public double stericEffectIndex(int a)
a
- index of the atom
public int szegedIndex()
public void setLicenseEnvironment(java.lang.String env)
chemaxon.license.Licensable
private String licenseEnvironment = ""; public void setLicenseEnvironment(String env) { licenseEnvironment = env; }
setLicenseEnvironment
in interface chemaxon.license.Licensable
env
- environment String to be stored and passed to the LicenseHandler in the isLicensed methodpublic boolean isLicensed()
chemaxon.license.Licensable
return LicenseHandler.isLicensed( LicenseHandler.MY_IDENTIFIER, licenseEnvironment );
isLicensed
in interface chemaxon.license.Licensable
public int wienerIndex()
public int wienerPolarity()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |