Package chemaxon.descriptors.scalars
Class HDon
java.lang.Object
chemaxon.descriptors.MolecularDescriptor
chemaxon.descriptors.ScalarDescriptor
chemaxon.descriptors.scalars.HDon
- All Implemented Interfaces:
- Cloneable
Implements hidrogen bond donor atom count as a scalar descriptor.
- Since:
- JChem 2.2
- 
Field SummaryFields inherited from class chemaxon.descriptors.ScalarDescriptordescrValueFields inherited from class chemaxon.descriptors.MolecularDescriptorparams
- 
Constructor SummaryConstructorsConstructorDescriptionHDon()Creates a new, empty HDon descriptor.HDon(ScalarDescriptor sd) Copy constructor.HDon(HBParameters params) Creates a new instance according to the parameters given.Creates a new instance according to the parameters given.
- 
Method SummaryModifier and TypeMethodDescriptionclone()Creates a new instance with identical internal state.String[]Creates the HDon descriptor for the given Molecule.getName()Gets the name of the HDon descriptor object.Gets the name of the parameters class corresponding to the descriptor.Gets the short name of the descriptor.voidsetParameters(String parameters) Sets the parameters of an already createdHDonobject.Methods inherited from class chemaxon.descriptors.ScalarDescriptorclear, fromData, fromFloatArray, fromString, getDefaultDissimilarityMetricThresholds, getDefaultThreshold, getDissimilarity, getDissimilarity, getDissimilarityMetrics, getLowerBound, set, setParameters, toData, toDecimalString, toFloatArray, toStringMethods inherited from class chemaxon.descriptors.MolecularDescriptorgenerate, getAtomSetColors, getAtomSetIndexes, getAtomSetNames, getDefaultMetricIndex, getDissimilarityMetricIndex, getMetricIndex, getMetricName, getMetricName, getNumberOfMetrics, getNumberOfWeights, getParameters, getThreshold, getThreshold, needsConfig, newInstance, newInstance, newInstanceFromXML, setScreeningConfiguration, toBinaryString
- 
Constructor Details- 
HDonpublic HDon()Creates a new, empty HDon descriptor.
- 
HDonCreates a new instance according to the parameters given.- Parameters:
- params- parameters
 
- 
HDonCreates a new instance according to the parameters given.- Parameters:
- params- parameter settings
 
- 
HDonCopy constructor. An identical copy of theScalarDescriptorpassed is created. The old and the new instances share the sameHBParametersobject.- Parameters:
- sd- a descriptor to be copied
 
 
- 
- 
Method Details- 
cloneCreates a new instance with identical internal state.- Overrides:
- clonein class- ScalarDescriptor
- Returns:
- the newly copied object
 
- 
getNameGets the name of the HDon descriptor object. The name is not the same as the class name, but nicer, and more meaningful for end-users too.- Overrides:
- getNamein class- ScalarDescriptor
- Returns:
- the nice, external name for HDon descriptor class objects
 
- 
getShortNameGets the short name of the descriptor.- Overrides:
- getShortNamein class- ScalarDescriptor
- Returns:
- the short name used in text outputs (tables etc.)
 
- 
setParametersSets the parameters of an already createdHDonobject.- Overrides:
- setParametersin class- ScalarDescriptor
- Parameters:
- parameters- parameter settings for the descriptor
- Throws:
- MDParametersException- any XML error
 
- 
getParametersClassNameGets the name of the parameters class corresponding to the descriptor.- Overrides:
- getParametersClassNamein class- ScalarDescriptor
- Returns:
- the name of the parameters class
 
- 
generateCreates the HDon descriptor for the given Molecule. Calls the generator created by the correspondingHBParametersclass.- Overrides:
- generatein class- ScalarDescriptor
- Returns:
- property names set in the molecule passed during generation
- Throws:
- MDGeneratorException- when failed to generate descriptor
 
 
-