public abstract class DerivedMolecularWeightDescriptor extends MolecularWeight
Constructor and Description |
---|
DerivedMolecularWeightDescriptor(String[] names) |
Modifier and Type | Method and Description |
---|---|
org.openscience.cdk.qsar.DescriptorValue |
calculate(org.openscience.cdk.interfaces.IAtomContainer container)
Calculate the weight of specified element type in the supplied
IAtomContainer . |
abstract double |
calculateDerivedValue(org.openscience.cdk.interfaces.IAtomContainer container,
double molweight) |
String[] |
getDescriptorNames() |
getDescriptorResultType, getParameterNames, getParameters, getParameterType, getSpecification, initialise, setParameters
protected final String[] names
public DerivedMolecularWeightDescriptor(String[] names)
public String[] getDescriptorNames()
getDescriptorNames
in interface org.openscience.cdk.qsar.IDescriptor
getDescriptorNames
in class MolecularWeight
public org.openscience.cdk.qsar.DescriptorValue calculate(org.openscience.cdk.interfaces.IAtomContainer container)
MolecularWeight
IAtomContainer
.calculate
in interface org.openscience.cdk.qsar.IMolecularDescriptor
calculate
in class MolecularWeight
container
- The AtomContainer for which this descriptor is to be
calculated. If 'H' is specified as the element symbol make
sure that the AtomContainer has hydrogens.public abstract double calculateDerivedValue(org.openscience.cdk.interfaces.IAtomContainer container, double molweight)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.