Class HuLuIndexTool
java.lang.Object
org.openscience.cdk.graph.invariant.HuLuIndexTool
Collection of methods for the calculation of topological indices of a
molecular graph as described in [Chang-Yu Hu and Lu Xu. J. Chem. Inf. Comput. Sci.. 1996. 36].
- Author:
- Mark Vine, John Mayfield
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]getAtomLayers(int[][] apspMatrix) static doublegetEAIDNumber(IAtomContainer atomContainer) Calculates the extended adjacency matrix index.static double[][]Compute the extended adjacency matrix as described in [Chang-Yu Hu and Lu Xu. J. Chem. Inf. Comput. Sci.. 1996. 36].static doublegetSqrtRadii(IAtom atom)
-
Constructor Details
-
HuLuIndexTool
public HuLuIndexTool()
-
-
Method Details
-
getSqrtRadii
-
getExtendedAdjacencyMatrix
Compute the extended adjacency matrix as described in [Chang-Yu Hu and Lu Xu. J. Chem. Inf. Comput. Sci.. 1996. 36].- Parameters:
mol- the molecule- Returns:
- extended adjacency matrix
-
getAtomLayers
public static int[] getAtomLayers(int[][] apspMatrix) -
getEAIDNumber
public static double getEAIDNumber(IAtomContainer atomContainer) throws NoSuchAtomException, BadMatrixFormatException, IndexOutOfBoundsException Calculates the extended adjacency matrix index. An implementation of the algorithm published in [Chang-Yu Hu and Lu Xu. J. Chem. Inf. Comput. Sci.. 1996. 36].- Throws:
NoSuchAtomExceptionBadMatrixFormatExceptionIndexOutOfBoundsException- Keywords:
- EAID number
-