|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.molecular.ChiChainDescriptor
public class ChiChainDescriptor
Evaluates chi chain descriptors.
The code currently evluates the simple and valence chi chain descriptors of orders 3, 4, 5, 6 and 7. It utilizes the graph isomorphism code of the CDK to find fragments matching SMILES strings representing the fragments corresponding to each type of chain. The order of the values returned is
| Constructor Summary | |
|---|---|
ChiChainDescriptor()
|
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IAtomContainer container)
Calculates the descriptor value for the given IAtomContainer. |
java.lang.String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated. |
IDescriptorResult |
getDescriptorResultType()
Returns the specific type of the DescriptorResult object. |
java.lang.String[] |
getParameterNames()
Returns the names of the parameters for this descriptor. |
java.lang.Object[] |
getParameters()
Returns the current parameter values. |
java.lang.Object |
getParameterType(java.lang.String name)
Returns a class matching that of the parameter with the given name. |
DescriptorSpecification |
getSpecification()
Returns a Map which specifies which descriptor
is implemented by this class. |
void |
setParameters(java.lang.Object[] params)
Sets the parameters for this descriptor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChiChainDescriptor()
| Method Detail |
|---|
public DescriptorSpecification getSpecification()
IDescriptorMap which specifies which descriptor
is implemented by this class.
These fields are used in the map:
getSpecification in interface IDescriptorpublic java.lang.String[] getParameterNames()
IDescriptor
getParameterNames in interface IDescriptorpublic java.lang.Object getParameterType(java.lang.String name)
IDescriptor
getParameterType in interface IDescriptorname - The name of the parameter whose type is requested
public void setParameters(java.lang.Object[] params)
throws CDKException
IDescriptor
setParameters in interface IDescriptorparams - An array of Object containing the parameters for this descriptor
CDKException - if invalid number of type of parameters are passed to itIDescriptor.getParameters()public java.lang.Object[] getParameters()
IDescriptor
getParameters in interface IDescriptorIDescriptor.setParameters(java.lang.Object[])@TestMethod(value="testNamesConsistency") public java.lang.String[] getDescriptorNames()
IDescriptorALOGPDescriptor
the return array will have a single element
getDescriptorNames in interface IDescriptorpublic DescriptorValue calculate(IAtomContainer container)
IMolecularDescriptor
calculate in interface IMolecularDescriptorcontainer - An IAtomContainer for which this descriptor
should be calculated
DescriptorValue that contain the
calculated value as well as specification detailspublic IDescriptorResult getDescriptorResultType()
DescriptorValue object. Note that the same result
can be achieved by interrogating the DescriptorValue object; this method
allows you to do the same thing, without actually calculating the descriptor.
getDescriptorResultType in interface IMolecularDescriptorIDescriptorResult interface indicating
the actual type of values returned by the descriptor in the DescriptorValue object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||