@TestClass(value="org.openscience.cdk.qsar.descriptors.atomic.PartialSigmaChargeDescriptorTest") public class PartialSigmaChargeDescriptor extends AbstractAtomicDescriptor
This descriptor uses these parameters:
Name | Default | Description |
maxIterations | 0 | Number of maximum iterations |
GasteigerMarsiliPartialCharges
Constructor and Description |
---|
PartialSigmaChargeDescriptor()
Constructor for the PartialSigmaChargeDescriptor object
|
Modifier and Type | Method and Description |
---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer ac)
The method returns apha partial charges assigned to an heavy atom through Gasteiger Marsili
It is needed to call the addExplicitHydrogensToSatisfyValency method from the class tools.HydrogenAdder.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
String[] |
getParameterNames()
Gets the parameterNames attribute of the PartialSigmaChargeDescriptor
object
|
Object[] |
getParameters()
Gets the parameters attribute of the PartialSigmaChargeDescriptor object
|
Object |
getParameterType(String name)
Gets the parameterType attribute of the PartialSigmaChargeDescriptor
object
|
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the PartialSigmaChargeDescriptor
object
|
void |
setParameters(Object[] params)
Sets the parameters attribute of the PartialSigmaChargeDescriptor
object
|
cacheDescriptorValue, getCachedDescriptorValue, isCachedAtomContainer
public PartialSigmaChargeDescriptor()
@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
@TestMethod(value="testSetParameters_arrayObject") public void setParameters(Object[] params) throws CDKException
params
- Number of maximum iterationsCDKException
- Description of the ExceptionIDescriptor.getParameters()
@TestMethod(value="testGetParameters") public Object[] getParameters()
IDescriptor.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