public class FunctionalGroupDescriptor extends Object implements org.openscience.cdk.qsar.IMolecularDescriptor
Modifier and Type | Field and Description |
---|---|
protected List<FunctionalGroup> |
groups |
protected HydrogenAdderProcessor |
hp |
protected static Logger |
logger |
protected String[] |
names |
String[] |
paramNames |
protected boolean |
verbose |
Constructor and Description |
---|
FunctionalGroupDescriptor() |
Modifier and Type | Method and Description |
---|---|
org.openscience.cdk.qsar.DescriptorValue |
calculate(org.openscience.cdk.interfaces.IAtomContainer atomcontainer) |
String[] |
getDescriptorNames() |
org.openscience.cdk.qsar.result.IDescriptorResult |
getDescriptorResultType() |
String[] |
getParameterNames() |
Object[] |
getParameters() |
Object |
getParameterType(String name) |
org.openscience.cdk.qsar.DescriptorSpecification |
getSpecification() |
void |
initialise(org.openscience.cdk.interfaces.IChemObjectBuilder arg0) |
boolean |
isVerbose() |
protected void |
setGroups(List<FunctionalGroup> groups) |
void |
setParameters(Object[] params)
3 parameters : Smarts,name,hint; first two are mandatory.
|
void |
setVerbose(boolean verbose) |
String |
toString() |
protected static Logger logger
public final String[] paramNames
protected List<FunctionalGroup> groups
protected String[] names
protected HydrogenAdderProcessor hp
protected boolean verbose
public boolean isVerbose()
public void initialise(org.openscience.cdk.interfaces.IChemObjectBuilder arg0)
initialise
in interface org.openscience.cdk.qsar.IDescriptor
public void setVerbose(boolean verbose)
protected void setGroups(List<FunctionalGroup> groups)
public String[] getDescriptorNames()
getDescriptorNames
in interface org.openscience.cdk.qsar.IDescriptor
public org.openscience.cdk.qsar.DescriptorValue calculate(org.openscience.cdk.interfaces.IAtomContainer atomcontainer)
calculate
in interface org.openscience.cdk.qsar.IMolecularDescriptor
public String[] getParameterNames()
getParameterNames
in interface org.openscience.cdk.qsar.IDescriptor
public Object getParameterType(String name)
getParameterType
in interface org.openscience.cdk.qsar.IDescriptor
public org.openscience.cdk.qsar.DescriptorSpecification getSpecification()
getSpecification
in interface org.openscience.cdk.qsar.IDescriptor
public void setParameters(Object[] params) throws org.openscience.cdk.exception.CDKException
setParameters
in interface org.openscience.cdk.qsar.IDescriptor
org.openscience.cdk.exception.CDKException
public Object[] getParameters()
getParameters
in interface org.openscience.cdk.qsar.IDescriptor
public org.openscience.cdk.qsar.result.IDescriptorResult getDescriptorResultType()
getDescriptorResultType
in interface org.openscience.cdk.qsar.IMolecularDescriptor
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.