|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.molecular.ChiIndexUtils
public class ChiIndexUtils
Utility methods for chi index calculations.
These methods are common to all the types of chi index calculations and can be used to evaluate path, path-cluster, cluster and chain chi indices.
| Constructor Summary | |
|---|---|
ChiIndexUtils()
|
|
| Method Summary | |
|---|---|
static double |
evalSimpleIndex(IAtomContainer atomContainer,
List<List<Integer>> fragLists)
Evaluates the simple chi index for a set of fragments. |
static double |
evalValenceIndex(IAtomContainer atomContainer,
List fragList)
Evaluates the valence corrected chi index for a set of fragments. |
static List<List<Integer>> |
getFragments(IAtomContainer atomContainer,
QueryAtomContainer[] queries)
Gets the fragments from a target AtomContainer matching a set of query fragments. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChiIndexUtils()
| Method Detail |
|---|
public static List<List<Integer>> getFragments(IAtomContainer atomContainer,
QueryAtomContainer[] queries)
AtomContainer matching a set of query fragments.
This method returns a list of lists. Each list contains the atoms of the target AtomContainer
that arise in the mapping of bonds in the target molecule to the bonds in the query fragment.
The query fragments should be constructed
using the createAnyAtomAnyBondContainer method of the QueryAtomContainerCreator
CDK class, since we are only interested in connectivity and not actual atom or bond type information.
atomContainer - The target AtomContainerqueries - An array of query fragments
public static double evalSimpleIndex(IAtomContainer atomContainer,
List<List<Integer>> fragLists)
atomContainer - The target AtomContainerfragLists - A list of fragments
public static double evalValenceIndex(IAtomContainer atomContainer,
List fragList)
throws CDKException
atomContainer - The target AtomContainerfragList - A list of fragments
CDKException - if the IsotopeFactory cannot be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||