|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openscience.cdk.qsar.descriptors.atompair.PiContactDetectionDescriptor
public class PiContactDetectionDescriptor
This class checks if two atoms have pi-contact (this is true when there is one and the same conjugated pi-system which contains both atoms, or directly linked neighboors of the atoms).
This descriptor uses these parameters:
| Name | Default | Description |
| firstAtom | 0 | The position of the first atom |
| secondAtom | 0 | The position of the second atom |
| checkAromaticity | false | True is the aromaticity has to be checked |
| Constructor Summary | |
|---|---|
PiContactDetectionDescriptor()
Constructor for the PiContactDetectionDescriptor object. |
|
| Method Summary | |
|---|---|
DescriptorValue |
calculate(IAtom first,
IAtom second,
IAtomContainer atomContainer)
The method returns if two atoms have pi-contact. |
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated. |
String[] |
getParameterNames()
Gets the parameterNames attribute of the PiContactDetectionDescriptor object. |
Object[] |
getParameters()
Gets the parameters attribute of the PiContactDetectionDescriptor object. |
Object |
getParameterType(String name)
Gets the parameterType attribute of the PiContactDetectionDescriptor object. |
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the PiContactDetectionDescriptor object. |
void |
setParameters(Object[] params)
Sets the parameters attribute of the PiContactDetectionDescriptor object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PiContactDetectionDescriptor()
| Method Detail |
|---|
public DescriptorSpecification getSpecification()
getSpecification in interface IDescriptor
public void setParameters(Object[] params)
throws CDKException
setParameters in interface IDescriptorparams - Parameters contains a
boolean (true if is needed a checkAromaticity)
CDKException - Description of the ExceptionIDescriptor.getParameters()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
public DescriptorValue calculate(IAtom first,
IAtom second,
IAtomContainer atomContainer)
calculate in interface IAtomPairDescriptoratomContainer - AtomContainerfirst - The first IAtom of the pair for which this
descriptor should be calculatedsecond - The second IAtom of the pair for which this
descriptor should be calculated
public String[] getParameterNames()
getParameterNames in interface IDescriptorpublic 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 | |||||||||