|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.atomic.ProtonTotalPartialChargeDescriptor
@TestClass(value="org.openscience.cdk.qsar.descriptors.atomic.ProtonTotalPartialChargeDescriptorTest") public class ProtonTotalPartialChargeDescriptor
The calculation of partial charges of an heavy atom and its protons is based on Gasteiger Marsili (PEOE). This descriptor has no parameters. The result of this descriptor is a vector of 5 values, corresponding to a maximum of four protons for any given atom. If an atom has fewer than four protons, the remaining values are set to Double.NaN. Also note that the values for the neighbors are not returned in a particular order (though the order is fixed for multiple runs for the same atom).
| Constructor Summary | |
|---|---|
ProtonTotalPartialChargeDescriptor()
Constructor for the ProtonTotalPartialChargeDescriptor object |
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer ac)
The method returns partial charges assigned to an heavy atom and its protons 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 ProtonTotalPartialChargeDescriptor object |
Object[] |
getParameters()
Gets the parameters attribute of the ProtonTotalPartialChargeDescriptor object |
Object |
getParameterType(String name)
Gets the parameterType attribute of the ProtonTotalPartialChargeDescriptor object |
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the ProtonTotalPartialChargeDescriptor object |
void |
setParameters(Object[] params)
This descriptor does not have any parameter to be set. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProtonTotalPartialChargeDescriptor()
| Method Detail |
|---|
@TestMethod(value="testGetSpecification") public DescriptorSpecification getSpecification()
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 ac)
calculate in interface IAtomicDescriptoratom - The IAtom for which the DescriptorValue is requestedac - AtomContainer
@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 | |||||||||