Package chemaxon.descriptors.scalars
Class TPSA
java.lang.Object
chemaxon.descriptors.MolecularDescriptor
chemaxon.descriptors.ScalarDescriptor
chemaxon.descriptors.scalars.TPSA
- All Implemented Interfaces:
Cloneable
Implements TPSA (Topological Polar Surface Area) value as a scalar descriptor.
- Since:
- JChem 2.2
-
Field Summary
Fields inherited from class chemaxon.descriptors.ScalarDescriptor
descrValueFields inherited from class chemaxon.descriptors.MolecularDescriptor
params -
Constructor Summary
ConstructorsConstructorDescriptionTPSA()Creates a new, empty logD descriptor.TPSA(ScalarDescriptor sd) Copy constructor.TPSA(SDParameters params) Creates a new instance according to the parameters given.Creates a new instance according to the parameters given. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new instance with identical internal state.String[]Creates the TPSA descriptor for the given Molecule.getName()Gets the name of the TPSA descriptor object.Gets the short name of the descriptor.booleanIndicates if class takes parameters from configuration file.voidsetParameters(String parameters) Sets the parameters of an already createdTPSAobject.Methods inherited from class chemaxon.descriptors.ScalarDescriptor
clear, fromData, fromFloatArray, fromString, getDefaultDissimilarityMetricThresholds, getDefaultThreshold, getDissimilarity, getDissimilarity, getDissimilarityMetrics, getLowerBound, getParametersClassName, set, setParameters, toData, toDecimalString, toFloatArray, toStringMethods inherited from class chemaxon.descriptors.MolecularDescriptor
generate, getAtomSetColors, getAtomSetIndexes, getAtomSetNames, getDefaultMetricIndex, getDissimilarityMetricIndex, getMetricIndex, getMetricName, getMetricName, getNumberOfMetrics, getNumberOfWeights, getParameters, getThreshold, getThreshold, newInstance, newInstance, newInstanceFromXML, setScreeningConfiguration, toBinaryString
-
Constructor Details
-
TPSA
public TPSA()Creates a new, empty logD descriptor. -
TPSA
Creates a new instance according to the parameters given.- Parameters:
params- parameters
-
TPSA
Creates a new instance according to the parameters given.- Parameters:
params- parameter settings
-
TPSA
Copy constructor. An identical copy of theScalarDescriptorpassed is created. The old and the new instances share the sameTPSAParametersobject.- Parameters:
sd- a fingerprint to be copied
-
-
Method Details
-
clone
Creates a new instance with identical internal state.- Overrides:
clonein classScalarDescriptor- Returns:
- the newly copied object
-
getName
Gets the name of the TPSA descriptor object. The name is not the same as the class name, but nicer, and more meaningful for end-users too.- Overrides:
getNamein classScalarDescriptor- Returns:
- the nice, external name for logD descriptor class objects
-
getShortName
Gets the short name of the descriptor.- Overrides:
getShortNamein classScalarDescriptor- Returns:
- the short name used in text outputs (tables etc.)
-
setParameters
Sets the parameters of an already createdTPSAobject.- Overrides:
setParametersin classScalarDescriptor- Parameters:
parameters- parameter settings for the descriptor- Throws:
MDParametersException- any XML error
-
needsConfig
public boolean needsConfig()Indicates if class takes parameters from configuration file.- Overrides:
needsConfigin classMolecularDescriptor- Returns:
- false
-
generate
Creates the TPSA descriptor for the given Molecule. Calls the generator created by the correspondingTPSAParametersclass.- Overrides:
generatein classScalarDescriptor- Returns:
- property names set in the molecule passed during generation
- Throws:
MDGeneratorException- when failed to generate descriptor
-