|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.bond.AtomicNumberDifferenceDescriptor
@TestClass(value="org.openscience.cdk.qsar.descriptors.bond.AtomicNumberDifferenceDescriptorTest") public class AtomicNumberDifferenceDescriptor
Describes the imbalance in atomic number of the IBond.
| Constructor Summary | |
|---|---|
AtomicNumberDifferenceDescriptor()
|
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IBond bond,
IAtomContainer ac)
Calculates the descriptor value for the given IBond. |
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated. |
String[] |
getParameterNames()
Returns the names of the parameters for this descriptor. |
Object[] |
getParameters()
Returns the current parameter values. |
Object |
getParameterType(String name)
Returns a class matching that of the parameter with the given name. |
DescriptorSpecification |
getSpecification()
Returns a IImplementationSpecification which specifies which descriptor
is implemented by this class. |
void |
setParameters(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 AtomicNumberDifferenceDescriptor()
| Method Detail |
|---|
@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
IDescriptorIImplementationSpecification which specifies which descriptor
is implemented by this class.
These fields are used in the map:
getSpecification in interface IDescriptor
@TestMethod(value="testSetParameters_arrayObject")
public void setParameters(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()@TestMethod(value="testGetParameters") public Object[] getParameters()
IDescriptor
getParameters in interface IDescriptorIDescriptor.setParameters(java.lang.Object[])@TestMethod(value="testNamesConsistency") public String[] getDescriptorNames()
IDescriptorALOGPDescriptor
the return array will have a single element
getDescriptorNames in interface IDescriptor
@TestMethod(value="testCalculate_IBond_IAtomContainer,testDescriptor1,testDescriptor2")
public DescriptorValue calculate(IBond bond,
IAtomContainer ac)
IBondDescriptor
calculate in interface IBondDescriptorbond - A IBond for which this descriptor
should be calculatedac - The molecule containing the bond
DescriptorValue that contain the
calculated value as well as specification details@TestMethod(value="testGetParameterNames") public String[] getParameterNames()
IDescriptor
getParameterNames in interface IDescriptor@TestMethod(value="testGetParameterType_String") public Object getParameterType(String name)
IDescriptor
getParameterType in interface IDescriptorname - The name of the parameter whose type is requested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||