@TestClass(value="org.openscience.cdk.qsar.descriptors.atomic.PartialTChargeMMFF94DescriptorTest") public class PartialTChargeMMFF94Descriptor extends AbstractAtomicDescriptor
This descriptor uses these parameters:
Name | Default | Description |
no parameters |
MMFF94PartialCharges
Constructor and Description |
---|
PartialTChargeMMFF94Descriptor()
Constructor for the PartialTChargeMMFF94Descriptor object
|
Modifier and Type | Method and Description |
---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer ac)
The method returns partial charges assigned to an heavy atom through MMFF94 method.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
String[] |
getParameterNames()
Gets the parameterNames attribute of the PartialTChargeMMFF94Descriptor
object
|
Object[] |
getParameters()
Gets the parameters attribute of the PartialTChargeMMFF94Descriptor
object
|
Object |
getParameterType(String name)
Gets the parameterType attribute of the PartialTChargeMMFF94Descriptor
object
|
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the PartialTChargeMMFF94Descriptor object
|
void |
setParameters(Object[] params)
This descriptor does not have any parameter to be set.
|
cacheDescriptorValue, getCachedDescriptorValue, isCachedAtomContainer
public PartialTChargeMMFF94Descriptor()
@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
@TestMethod(value="testSetParameters_arrayObject") public void setParameters(Object[] params) throws CDKException
params
- An array of Object containing the parameters for this descriptorCDKException
- if invalid number of type of parameters are passed to itIDescriptor.getParameters()
@TestMethod(value="testGetParameters") public Object[] getParameters()
setParameters(java.lang.Object[])
@TestMethod(value="testNamesConsistency") public String[] getDescriptorNames()
IDescriptor
ALOGPDescriptor
the return array will have a single element
@TestMethod(value="testCalculate_IAtomContainer") public DescriptorValue calculate(IAtom atom, IAtomContainer ac)
atom
- The IAtom for which the DescriptorValue is requestedac
- AtomContainer@TestMethod(value="testGetParameterNames") public String[] getParameterNames()
@TestMethod(value="testGetParameterType_String") public Object getParameterType(String name)
name
- Description of the Parameter