|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.atomic.VdWRadiusDescriptor
@TestClass(value="org.openscience.cdk.qsar.descriptors.atomic.VdWRadiusDescriptorTest") public class VdWRadiusDescriptor
This class return the VdW radius of a given atom.
This descriptor uses these parameters:
| Name | Default | Description |
| Constructor Summary | |
|---|---|
VdWRadiusDescriptor()
Constructor for the VdWRadiusDescriptor object. |
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer container)
This method calculate the Van der Waals radius of an atom. |
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated. |
String[] |
getParameterNames()
Gets the parameterNames attribute of the VdWRadiusDescriptor object. |
Object[] |
getParameters()
Gets the parameters attribute of the VdWRadiusDescriptor object. |
Object |
getParameterType(String name)
Gets the parameterType attribute of the VdWRadiusDescriptor object. |
DescriptorSpecification |
getSpecification()
Returns a Map which specifies which descriptor
is implemented by this class. |
void |
setParameters(Object[] params)
This descriptor does have any parameter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VdWRadiusDescriptor()
throws IOException,
ClassNotFoundException
IOException - if an error ocurrs when reading atom type information
ClassNotFoundException - if an error occurs during tom typing| Method Detail |
|---|
@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
Map 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
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()
getParameters in interface IDescriptorsetParameters(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_IAtomContainer")
public DescriptorValue calculate(IAtom atom,
IAtomContainer container)
calculate in interface IAtomicDescriptorcontainer - The IAtomContainer for which the descriptor is to be calculatedatom - An IAtom for which this descriptor should be
calculated
@TestMethod(value="testGetParameterNames") public String[] getParameterNames()
getParameterNames in interface IDescriptor@TestMethod(value="testGetParameterType_String") public Object getParameterType(String name)
getParameterType in interface IDescriptorname - Description of the Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||