public abstract class DescriptorStructurePresence<T> extends Object implements org.openscience.cdk.qsar.IMolecularDescriptor
| Modifier and Type | Field and Description |
|---|---|
protected ambit2.smarts.query.ISmartsPattern<T> |
fragment |
protected static Logger |
logger |
protected String[] |
paramNames |
protected String |
resultName |
| Constructor and Description |
|---|
DescriptorStructurePresence() |
| Modifier and Type | Method and Description |
|---|---|
org.openscience.cdk.qsar.DescriptorValue |
calculate(org.openscience.cdk.interfaces.IAtomContainer container) |
protected abstract ambit2.smarts.query.ISmartsPattern<T> |
createSmartsPattern() |
String[] |
getDescriptorNames() |
org.openscience.cdk.qsar.result.IDescriptorResult |
getDescriptorResultType() |
String[] |
getParameterNames() |
Object[] |
getParameters() |
Object |
getParameterType(String name) |
String[] |
getParamNames() |
String |
getResultName() |
String |
getSMARTS() |
org.openscience.cdk.qsar.DescriptorSpecification |
getSpecification() |
void |
initialise(org.openscience.cdk.interfaces.IChemObjectBuilder builder) |
void |
setParameters(Object[] params) |
void |
setParamNames(String[] paramNames) |
void |
setResultName(String resultName) |
void |
setSMARTS(String smarts) |
String |
toString() |
protected static transient Logger logger
protected String[] paramNames
protected ambit2.smarts.query.ISmartsPattern<T> fragment
protected String resultName
public String getSMARTS()
protected abstract ambit2.smarts.query.ISmartsPattern<T> createSmartsPattern()
public void setSMARTS(String smarts) throws ambit2.smarts.query.SMARTSException
ambit2.smarts.query.SMARTSExceptionpublic org.openscience.cdk.qsar.DescriptorValue calculate(org.openscience.cdk.interfaces.IAtomContainer container)
calculate in interface org.openscience.cdk.qsar.IMolecularDescriptorpublic org.openscience.cdk.qsar.result.IDescriptorResult getDescriptorResultType()
getDescriptorResultType in interface org.openscience.cdk.qsar.IMolecularDescriptorpublic String[] getParameterNames()
getParameterNames in interface org.openscience.cdk.qsar.IDescriptorpublic Object getParameterType(String name)
getParameterType in interface org.openscience.cdk.qsar.IDescriptorpublic Object[] getParameters()
getParameters in interface org.openscience.cdk.qsar.IDescriptorpublic org.openscience.cdk.qsar.DescriptorSpecification getSpecification()
getSpecification in interface org.openscience.cdk.qsar.IDescriptorpublic void setParameters(Object[] params) throws org.openscience.cdk.exception.CDKException
setParameters in interface org.openscience.cdk.qsar.IDescriptororg.openscience.cdk.exception.CDKExceptionpublic String[] getParamNames()
public void setParamNames(String[] paramNames)
public void setResultName(String resultName)
public String getResultName()
public String[] getDescriptorNames()
getDescriptorNames in interface org.openscience.cdk.qsar.IDescriptorpublic void initialise(org.openscience.cdk.interfaces.IChemObjectBuilder builder)
initialise in interface org.openscience.cdk.qsar.IDescriptorCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.