public class PeriodicTablePositionDescriptor extends AbstractAtomicDescriptor implements IAtomicDescriptor
| Name | Default | Description |
| no parameters |
| Modifier and Type | Field and Description |
|---|---|
Map<String,Integer> |
periodicTable |
| Constructor and Description |
|---|
PeriodicTablePositionDescriptor()
Constructor for the PeriodicTablePositionDescriptor object
|
| Modifier and Type | Method and Description |
|---|---|
DescriptorValue |
calculate(IAtom atom,
IAtomContainer container)
This method calculates the period of an atom.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
String[] |
getParameterNames()
Gets the parameterNames attribute of the PeriodicTablePositionDescriptor object
|
Object[] |
getParameters()
Gets the parameters attribute of the PeriodicTablePositionDescriptor object
|
Object |
getParameterType(String name)
Gets the parameterType attribute of the PeriodicTablePositionDescriptor object
|
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the PeriodicTablePositionDescriptor object
|
void |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
void |
setParameters(Object[] params)
This descriptor does not have any parameter to be set.
|
cacheDescriptorValue, getCachedDescriptorValue, isCachedAtomContainerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialisepublic PeriodicTablePositionDescriptor()
public DescriptorSpecification getSpecification()
getSpecification in interface IDescriptorpublic void setParameters(Object[] params) throws CDKException
setParameters 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()
getParameters in interface IDescriptorsetParameters(java.lang.Object[])public String[] getDescriptorNames()
IDescriptorALOGPDescriptor
the return array will have a single elementgetDescriptorNames in interface IDescriptorpublic DescriptorValue calculate(IAtom atom, IAtomContainer container)
calculate in interface IAtomicDescriptoratom - The IAtom for which the DescriptorValue is requestedcontainer - Parameter is the atom container.public String[] getParameterNames()
getParameterNames in interface IDescriptorpublic Object getParameterType(String name)
getParameterType in interface IDescriptorname - Description of the Parameterpublic void initialise(IChemObjectBuilder builder)
initialise in interface IDescriptorbuilder - chem object buildCopyright © 2018. All Rights Reserved.