Package chemaxon.descriptors.scalars
Class Mass
java.lang.Object
chemaxon.descriptors.MolecularDescriptor
chemaxon.descriptors.ScalarDescriptor
chemaxon.descriptors.scalars.Mass
- All Implemented Interfaces:
- Cloneable
Implements Mass (total mass of molecule) value as a scalar descriptor.
 Is like molecular weight but it is actually mass, so we should call it mass
 and not weight.
- Since:
- JChem 2.2
- 
Field SummaryFields inherited from class chemaxon.descriptors.ScalarDescriptordescrValueFields inherited from class chemaxon.descriptors.MolecularDescriptorparams
- 
Constructor SummaryConstructorsConstructorDescriptionMass()Creates a new, empty logD descriptor.Mass(ScalarDescriptor sd) Copy constructor.Mass(SDParameters 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 Mass descriptor for the given Molecule.getName()Gets the name of the Mass 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 createdMassobject.Methods inherited from class chemaxon.descriptors.ScalarDescriptorclear, fromData, fromFloatArray, fromString, getDefaultDissimilarityMetricThresholds, getDefaultThreshold, getDissimilarity, getDissimilarity, getDissimilarityMetrics, getLowerBound, getParametersClassName, 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, newInstance, newInstance, newInstanceFromXML, setScreeningConfiguration, toBinaryString
- 
Constructor Details- 
Masspublic Mass()Creates a new, empty logD descriptor.
- 
MassCreates a new instance according to the parameters given.- Parameters:
- params- parameters
 
- 
MassCreates a new instance according to the parameters given.- Parameters:
- params- parameter settings
 
- 
MassCopy constructor. An identical copy of theScalarDescriptorpassed is created. The old and the new instances share the sameMassParametersobject.- Parameters:
- sd- a fingerprint 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 Mass 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 logD 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 createdMassobject.- Overrides:
- setParametersin class- ScalarDescriptor
- Parameters:
- parameters- parameter settings for the descriptor
- Throws:
- MDParametersException- any XML error
 
- 
needsConfigpublic boolean needsConfig()Indicates if class takes parameters from configuration file.- Overrides:
- needsConfigin class- MolecularDescriptor
- Returns:
- false
 
- 
generateCreates the Mass descriptor for the given Molecule. Calls the generator created by the correspondingMassParametersclass.- Overrides:
- generatein class- ScalarDescriptor
- Returns:
- property names set in the molecule passed during generation
- Throws:
- MDGeneratorException- when failed to generate descriptor
 
 
-