public class ChemComplexityUtils extends Object
Modifier and Type | Field and Description |
---|---|
static double |
log_2 |
Constructor and Description |
---|
ChemComplexityUtils() |
Modifier and Type | Method and Description |
---|---|
static List<org.openscience.cdk.interfaces.IAtom[]> |
getAtomPaths(org.openscience.cdk.interfaces.IAtom atom,
org.openscience.cdk.interfaces.IAtomContainer mol,
int pathLenght,
boolean includeImplicitHAtoms) |
static List<org.openscience.cdk.interfaces.IAtom[]> |
getAtomPaths1(org.openscience.cdk.interfaces.IAtom atom,
org.openscience.cdk.interfaces.IAtomContainer mol,
boolean includeImplicitHAtoms) |
static List<org.openscience.cdk.interfaces.IAtom[]> |
getAtomPaths2(org.openscience.cdk.interfaces.IAtom atom,
org.openscience.cdk.interfaces.IAtomContainer mol,
boolean includeImplicitHAtoms) |
static int[] |
getAtomXDInfo(org.openscience.cdk.interfaces.IAtom atom) |
static double |
log2(double x) |
static void |
registerGroup(String group,
Map<String,Integer> groupFrequencies) |
static double |
shannonEntropy(int[] groupFrequencies) |
static double |
shannonEntropy(int[] groupFrequencies,
int totalNum) |
static double |
shannonEntropy(Map<String,Integer> groupFrequencies) |
static double |
shannonEntropy(Map<String,Integer> groupFrequencies,
int totalNum) |
static int |
totalGroupNum(Map<String,Integer> groupFrequencies) |
public static double log2(double x)
public static double shannonEntropy(Map<String,Integer> groupFrequencies, int totalNum)
public static double shannonEntropy(int[] groupFrequencies)
public static double shannonEntropy(int[] groupFrequencies, int totalNum)
public static List<org.openscience.cdk.interfaces.IAtom[]> getAtomPaths1(org.openscience.cdk.interfaces.IAtom atom, org.openscience.cdk.interfaces.IAtomContainer mol, boolean includeImplicitHAtoms)
public static List<org.openscience.cdk.interfaces.IAtom[]> getAtomPaths2(org.openscience.cdk.interfaces.IAtom atom, org.openscience.cdk.interfaces.IAtomContainer mol, boolean includeImplicitHAtoms)
public static List<org.openscience.cdk.interfaces.IAtom[]> getAtomPaths(org.openscience.cdk.interfaces.IAtom atom, org.openscience.cdk.interfaces.IAtomContainer mol, int pathLenght, boolean includeImplicitHAtoms)
public static int[] getAtomXDInfo(org.openscience.cdk.interfaces.IAtom atom)
atom
- Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.