public class AtomicNumberDifferenceDescriptor extends AbstractBondDescriptor implements IBondDescriptor
| Constructor and Description |
|---|
AtomicNumberDifferenceDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
DescriptorValue |
calculate(IBond bond,
IAtomContainer ac)
Calculates the descriptor value for the given IBond.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
String[] |
getParameterNames()
Returns the names of the parameters for this descriptor.
|
Object[] |
getParameters()
Returns the current parameter values.
|
Object |
getParameterType(String name)
Returns a class matching that of the parameter with the given name.
|
DescriptorSpecification |
getSpecification()
Returns a
IImplementationSpecification which specifies which descriptor
is implemented by this class. |
void |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
void |
setParameters(Object[] params)
Sets the parameters for this descriptor.
|
cacheDescriptorValue, getCachedDescriptorValue, isCachedAtomContainerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialisepublic DescriptorSpecification getSpecification()
IDescriptorIImplementationSpecification which specifies which descriptor
is implemented by this class.
These fields are used in the map:
getSpecification in interface IDescriptorpublic void setParameters(Object[] params) throws CDKException
IDescriptorsetParameters in interface IDescriptorparams - An array of Object containing the parameters for this descriptorCDKException - if invalid number of type of parameters are passed to itIDescriptor.getParameters()public Object[] getParameters()
IDescriptorgetParameters in interface IDescriptorIDescriptor.setParameters(java.lang.Object[])public String[] getDescriptorNames()
IDescriptorALOGPDescriptor
the return array will have a single elementgetDescriptorNames in interface IDescriptorpublic DescriptorValue calculate(IBond bond, IAtomContainer ac)
IBondDescriptorcalculate in interface IBondDescriptorbond - A IBond for which this descriptor
should be calculatedac - The molecule containing the bondDescriptorValue that contain the
calculated value as well as specification detailspublic String[] getParameterNames()
IDescriptorgetParameterNames in interface IDescriptorpublic Object getParameterType(String name)
IDescriptorgetParameterType in interface IDescriptorname - The name of the parameter whose type is requestedpublic void initialise(IChemObjectBuilder builder)
initialise in interface IDescriptorbuilder - chem object buildCopyright © 2021. All rights reserved.