public class AtomEnvironentMatrix extends Object implements org.openscience.cdk.fingerprint.IFingerprinter
Modifier and Type | Class and Description |
---|---|
static class |
AtomEnvironentMatrix._param |
Modifier and Type | Field and Description |
---|---|
protected boolean |
addGenericTypes |
protected org.openscience.cdk.interfaces.IAtomType[] |
atomTypes |
protected String[] |
descriptorNames |
protected boolean |
empty |
protected String |
factoryResource |
protected TreeMap<String,Integer> |
map |
Constructor and Description |
---|
AtomEnvironentMatrix() |
AtomEnvironentMatrix(org.openscience.cdk.atomtype.IAtomTypeMatcher matcher,
String factoryResource,
int maxLevels) |
Modifier and Type | Method and Description |
---|---|
String |
atomTypeToString(int index) |
HashIntDescriptorResult |
doCalculation(org.openscience.cdk.interfaces.IAtomContainer atomContainer) |
org.openscience.cdk.atomtype.IAtomTypeMatcher |
getAtm() |
int |
getAtomFingerprintSize()
to hold counts of all atom types defined by factory for maxlevel and one
additional entry for undefined atom types
|
org.openscience.cdk.interfaces.IAtomType |
getAtomType(int index) |
protected InputStream |
getAtomTypeFactoryStream() |
org.openscience.cdk.fingerprint.IBitFingerprint |
getBitFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) |
org.openscience.cdk.fingerprint.ICountFingerprint |
getCountFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) |
String[] |
getDescriptorNames() |
org.openscience.cdk.config.AtomTypeFactory |
getFactory() |
BitSet |
getFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) |
int |
getMaxLevel() |
Map<String,Integer> |
getRawFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) |
int |
getSize() |
String |
getVersionDescription() |
protected String[] |
initAtomTypes(org.openscience.cdk.config.AtomTypeFactory factory,
org.openscience.cdk.atomtype.IAtomTypeMatcher atm) |
boolean |
isAddGenericTypes() |
void |
setAddGenericTypes(boolean addGenericTypes) |
void |
setAtm(org.openscience.cdk.atomtype.IAtomTypeMatcher atm) |
void |
setDescriptorNames(String[] descriptorNames) |
void |
setFactory(org.openscience.cdk.config.AtomTypeFactory factory) |
void |
setMaxLevel(int maxLevel) |
protected String factoryResource
protected boolean addGenericTypes
protected boolean empty
protected String[] descriptorNames
protected org.openscience.cdk.interfaces.IAtomType[] atomTypes
public boolean isAddGenericTypes()
public void setAddGenericTypes(boolean addGenericTypes)
public int getMaxLevel()
public void setMaxLevel(int maxLevel)
public String[] getDescriptorNames()
public void setDescriptorNames(String[] descriptorNames)
public org.openscience.cdk.atomtype.IAtomTypeMatcher getAtm()
public void setAtm(org.openscience.cdk.atomtype.IAtomTypeMatcher atm)
public org.openscience.cdk.config.AtomTypeFactory getFactory()
public void setFactory(org.openscience.cdk.config.AtomTypeFactory factory)
public HashIntDescriptorResult doCalculation(org.openscience.cdk.interfaces.IAtomContainer atomContainer) throws org.openscience.cdk.exception.CDKException
arg0
- result
- result[i] contains the level at which ith atom is from the
current atom (one set by setParameters)org.openscience.cdk.exception.CDKException
protected String[] initAtomTypes(org.openscience.cdk.config.AtomTypeFactory factory, org.openscience.cdk.atomtype.IAtomTypeMatcher atm) throws org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.CDKException
protected InputStream getAtomTypeFactoryStream()
public int getAtomFingerprintSize()
public String atomTypeToString(int index)
public org.openscience.cdk.interfaces.IAtomType getAtomType(int index)
public org.openscience.cdk.fingerprint.IBitFingerprint getBitFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) throws org.openscience.cdk.exception.CDKException
getBitFingerprint
in interface org.openscience.cdk.fingerprint.IFingerprinter
org.openscience.cdk.exception.CDKException
public org.openscience.cdk.fingerprint.ICountFingerprint getCountFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) throws org.openscience.cdk.exception.CDKException
getCountFingerprint
in interface org.openscience.cdk.fingerprint.IFingerprinter
org.openscience.cdk.exception.CDKException
public Map<String,Integer> getRawFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) throws org.openscience.cdk.exception.CDKException
getRawFingerprint
in interface org.openscience.cdk.fingerprint.IFingerprinter
org.openscience.cdk.exception.CDKException
public int getSize()
getSize
in interface org.openscience.cdk.fingerprint.IFingerprinter
public BitSet getFingerprint(org.openscience.cdk.interfaces.IAtomContainer container) throws org.openscience.cdk.exception.CDKException
getFingerprint
in interface org.openscience.cdk.fingerprint.IFingerprinter
org.openscience.cdk.exception.CDKException
public String getVersionDescription()
getVersionDescription
in interface org.openscience.cdk.fingerprint.IFingerprinter
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.