@PublicAPI public class LogP extends ScalarDescriptor
descrValue
params
Constructor and Description |
---|
LogP()
Creates a new, empty logP descriptor.
|
LogP(ScalarDescriptor sd)
Copy constructor.
|
LogP(SDParameters params)
Creates a new instance according to the parameters given.
|
LogP(java.lang.String params)
Creates a new instance according to the parameters given.
|
Modifier and Type | Method and Description |
---|---|
MolecularDescriptor |
clone()
Creates a new instance with identical internal state.
|
java.lang.String[] |
generate(Molecule m)
Creates the LogP descriptor for the given Molecule.
|
java.lang.String |
getName()
Gets the name of the LogP descriptor object.
|
java.lang.String |
getParametersClassName()
Gets the name of the parameters class corresponding to the descriptor.
|
java.lang.String |
getShortName()
Gets the short name of the descriptor.
|
boolean |
needsConfig()
Indicates if class takes parameters from configuration file.
|
void |
setParameters(java.lang.String parameters)
Sets the parameters of an already created
LogP object. |
clear, fromData, fromFloatArray, fromString, getDefaultDissimilarityMetricThresholds, getDefaultThreshold, getDissimilarity, getDissimilarity, getDissimilarityMetrics, getLowerBound, set, setParameters, toData, toDecimalString, toFloatArray, toString
generate, getAtomSetColors, getAtomSetIndexes, getAtomSetNames, getDefaultMetricIndex, getDissimilarityMetricIndex, getMetricIndex, getMetricName, getMetricName, getNumberOfMetrics, getNumberOfWeights, getParameters, getThreshold, getThreshold, main, newInstance, newInstance, newInstanceFromXML, newInstanceSupplier, setScreeningConfiguration, toBinaryString
public LogP()
public LogP(SDParameters params)
params
- parameterspublic LogP(java.lang.String params)
params
- parameter settingspublic LogP(ScalarDescriptor sd)
ScalarDescriptor
passed is created. The old and the new instances share the same
LogPParameters
object.sd
- a descriptor to be copiedpublic MolecularDescriptor clone()
clone
in class ScalarDescriptor
public java.lang.String getName()
getName
in class ScalarDescriptor
public java.lang.String getShortName()
getShortName
in class ScalarDescriptor
public void setParameters(java.lang.String parameters) throws MDParametersException
LogP
object.setParameters
in class ScalarDescriptor
parameters
- parameter settings for the descriptorMDParametersException
- any XML errorpublic java.lang.String getParametersClassName()
getParametersClassName
in class ScalarDescriptor
public boolean needsConfig()
needsConfig
in class MolecularDescriptor
public java.lang.String[] generate(Molecule m) throws MDGeneratorException
LogPParameters
class.generate
in class ScalarDescriptor
MDGeneratorException
- when failed to generate descriptor