|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.atomic.IsProtonInAromaticSystemDescriptor
@TestClass(value="org.openscience.cdk.qsar.descriptors.atomic.IsProtonInAromaticSystemDescriptorTest") public class IsProtonInAromaticSystemDescriptor
This descriptor returns 1 if the protons is directly bonded to an aromatic system, it returns 2 if the distance between aromatic system and proton is 2 bonds, and it return 0 for other positions. It is needed to use addExplicitHydrogensToSatisfyValency method.
This descriptor uses these parameters:
| Name | Default | Description |
| checkAromaticity | false | True is the aromaticity has to be checked |
| Constructor Summary | |
|---|---|
IsProtonInAromaticSystemDescriptor()
Constructor for the IsProtonInAromaticSystemDescriptor object |
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer atomContainer)
The method is a proton descriptor that evaluate if a proton is bonded to an aromatic system or if there is distance of 2 bonds. |
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated. |
String[] |
getParameterNames()
Gets the parameterNames attribute of the IsProtonInAromaticSystemDescriptor object |
Object[] |
getParameters()
Gets the parameters attribute of the IsProtonInAromaticSystemDescriptor object |
Object |
getParameterType(String name)
Gets the parameterType attribute of the IsProtonInAromaticSystemDescriptor object |
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the IsProtonInAromaticSystemDescriptor object |
void |
setParameters(Object[] params)
Sets the parameters attribute of the IsProtonInAromaticSystemDescriptor object |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IsProtonInAromaticSystemDescriptor()
| 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 - The new parameters value
CDKException - Possible ExceptionsIDescriptor.getParameters()@TestMethod(value="testGetParameters") public Object[] getParameters()
getParameters in interface IDescriptorIDescriptor.setParameters(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 atomContainer)
calculate in interface IAtomicDescriptoratom - The IAtom for which the DescriptorValue is requestedatomContainer - 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 | |||||||||