public class MannholdLogPDescriptor extends AbstractMolecularDescriptor implements IMolecularDescriptor
Prediction of logP based on the number of carbon and hetero atoms. The implemented equation was proposed in [Mannhold, R. and Poda, G.I. and Ostermann, C. and Tetko, I.V., Calculation of molecular lipophilicity: State-of-the-art and comparison of log P methods on more than 96,000 compounds, J.Pharm.Sci., 2009, 98:861--893].
Constructor and Description |
---|
MannholdLogPDescriptor() |
Modifier and Type | Method and Description |
---|---|
DescriptorValue |
calculate(IAtomContainer atomContainer)
Calculates the Mannhold LogP for an atom container.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
IDescriptorResult |
getDescriptorResultType()
Returns a type of return value calculated by this descriptor.
|
String[] |
getParameterNames()
Gets the parameterNames attribute for this descriptor.
|
Object[] |
getParameters()
Gets the parameters attribute of the MannholdLogPDescriptor object.
|
Object |
getParameterType(String name)
Gets the parameterType attribute for a given parameter name.
|
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the MannholdLogPDescriptor object.
|
void |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
void |
setParameters(Object[] params)
This
IDescriptor does not have any parameters. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialise
public DescriptorSpecification getSpecification()
getSpecification
in interface IDescriptor
public void setParameters(Object[] params) throws CDKException
IDescriptor
does not have any parameters. If it had, this
would have been the method to set them.setParameters
in interface IDescriptor
params
- The new parameter valueCDKException
- Exception throw when invalid parameter values
are passedgetParameters()
public Object[] getParameters()
getParameters
in interface IDescriptor
setParameters(java.lang.Object[])
public String[] getDescriptorNames()
IDescriptor
ALOGPDescriptor
the return array will have a single elementgetDescriptorNames
in interface IDescriptor
public DescriptorValue calculate(IAtomContainer atomContainer)
calculate
in interface IMolecularDescriptor
atomContainer
- IAtomContainer
to calculate the
descriptor value for.DoubleResult
.public IDescriptorResult getDescriptorResultType()
getDescriptorResultType
in interface IMolecularDescriptor
DoubleResult
.public String[] getParameterNames()
getParameterNames
in interface IDescriptor
public Object getParameterType(String name)
getParameterType
in interface IDescriptor
name
- Name of the parameter for which the type is requested.public void initialise(IChemObjectBuilder builder)
initialise
in interface IDescriptor
builder
- chem object buildCopyright © 2017. All Rights Reserved.