Class HuLuIndexTool
- java.lang.Object
-
- org.openscience.cdk.graph.invariant.HuLuIndexTool
-
public class HuLuIndexTool extends Object
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
- Source code:
- main
-
-
Constructor Summary
Constructors Constructor Description HuLuIndexTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int[]
getAtomLayers(int[][] apspMatrix)
static double
getEAIDNumber(IAtomContainer atomContainer)
Calculates the extended adjacency matrix index.static double[][]
getExtendedAdjacencyMatrix(IAtomContainer mol)
Compute the extended adjacency matrix as described in [Chang-Yu Hu and Lu Xu. J. Chem. Inf. Comput. Sci.. 1996. 36].static double
getSqrtRadii(IAtom atom)
-
-
-
Method Detail
-
getSqrtRadii
public static double getSqrtRadii(IAtom atom)
-
getExtendedAdjacencyMatrix
public static double[][] getExtendedAdjacencyMatrix(IAtomContainer mol)
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:
NoSuchAtomException
BadMatrixFormatException
IndexOutOfBoundsException
- Keywords:
- EAID number
-
-