public class VdWRadiusDescriptor extends AbstractAtomicDescriptor implements IAtomicDescriptor
Name | Default | Description |
Constructor and Description |
---|
VdWRadiusDescriptor()
Constructor for the VdWRadiusDescriptor object.
|
Modifier and Type | Method and Description |
---|---|
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 |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
void |
setParameters(Object[] params)
This descriptor does have any parameter.
|
cacheDescriptorValue, getCachedDescriptorValue, isCachedAtomContainer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialise
public VdWRadiusDescriptor() throws IOException, ClassNotFoundException
IOException
- if an error ocurrs when reading atom type informationClassNotFoundException
- if an error occurs during tom typingpublic DescriptorSpecification getSpecification()
Map
which specifies which descriptor
is implemented by this class.
These fields are used in the map:
getSpecification
in interface IDescriptor
public void setParameters(Object[] params) throws CDKException
setParameters
in interface IDescriptor
params
- An array of Object containing the parameters for this descriptorCDKException
- if invalid number of type of parameters are passed to itIDescriptor.getParameters()
public Object[] getParameters()
getParameters
in interface IDescriptor
setParameters(java.lang.Object[])
public String[] getDescriptorNames()
IDescriptor
ALOGPDescriptor
the return array will have a single elementgetDescriptorNames
in interface IDescriptor
public DescriptorValue calculate(IAtom atom, IAtomContainer container)
calculate
in interface IAtomicDescriptor
container
- The IAtomContainer
for which the descriptor is to be calculatedatom
- An IAtom
for which this descriptor should be
calculatedpublic String[] getParameterNames()
getParameterNames
in interface IDescriptor
public Object getParameterType(String name)
getParameterType
in interface IDescriptor
name
- Description of the Parameterpublic void initialise(IChemObjectBuilder builder)
initialise
in interface IDescriptor
builder
- chem object buildCopyright © 2017. All Rights Reserved.