|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.AbstractBondDescriptor
org.openscience.cdk.qsar.descriptors.bond.BondPartialPiChargeDescriptor
@TestClass(value="org.openscience.cdk.qsar.descriptors.bond.BondPartialPiChargeDescriptorTest") public class BondPartialPiChargeDescriptor
The calculation of bond-pi Partial charge is calculated determining the difference the Partial Pi Charge on atoms A and B of a bond. Based in Gasteiger Charge.
This descriptor uses these parameters:
| Name | Default | Description |
| bondPosition | 0 | The position of the target bond |
PartialPiChargeDescriptor| Constructor Summary | |
|---|---|
BondPartialPiChargeDescriptor()
Constructor for the BondPartialPiChargeDescriptor object |
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IBond bond,
IAtomContainer ac)
The method calculates the bond-pi Partial charge of a given bond 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 BondPartialPiChargeDescriptor object. |
Object[] |
getParameters()
Gets the parameters attribute of the BondPartialPiChargeDescriptor object. |
Object |
getParameterType(String name)
Gets the parameterType attribute of the BondPartialPiChargeDescriptor object. |
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the BondPartialPiChargeDescriptor object |
void |
setParameters(Object[] params)
This descriptor does have any parameter. |
| Methods inherited from class org.openscience.cdk.qsar.AbstractBondDescriptor |
|---|
cacheDescriptorValue, getCachedDescriptorValue, isCachedAtomContainer |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BondPartialPiChargeDescriptor()
| Method Detail |
|---|
@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 descriptor
CDKException - 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()
IDescriptorALOGPDescriptor
the return array will have a single element
@TestMethod(value="testCalculate_IBond_IAtomContainer,testBondPiElectronegativityDescriptor,testBondPiElectronegativityDescriptor_Allyl_bromide")
public DescriptorValue calculate(IBond bond,
IAtomContainer ac)
ac - AtomContainerbond - A IBond for which this descriptor
should be calculated
@TestMethod(value="testGetParameterNames") public String[] getParameterNames()
@TestMethod(value="testGetParameterType_String") public Object getParameterType(String name)
name - Description of the Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||