public interface IFingerprinter
Modifier and Type | Method and Description |
---|---|
IBitFingerprint |
getBitFingerprint(IAtomContainer container)
Returns the bit fingerprint for the given
IAtomContainer . |
ICountFingerprint |
getCountFingerprint(IAtomContainer container)
Returns the count fingerprint for the given
IAtomContainer . |
BitSet |
getFingerprint(IAtomContainer mol)
Generate a binary fingerprint as a bit.
|
Map<String,Integer> |
getRawFingerprint(IAtomContainer container)
Returns the raw representation of the fingerprint for the given IAtomContainer.
|
int |
getSize()
Returns the size (or length) of the fingerprint.
|
String |
getVersionDescription()
Generate a fingerprint type version description in chemfp's FPS format.
|
String getVersionDescription()
#type=CDK-Fingerprinter/2.0 searchDepth=7 pathLimit=2000 hashPseudoAtoms=true #type=CDK-CircularFingerprint/2.0 classType=ECFP4
BitSet getFingerprint(IAtomContainer mol) throws CDKException
getBitFingerprint(IAtomContainer)
and invoke
IBitFingerprint.asBitSet()
, it is included for backwards compatibility.mol
- moleculeCDKException
- problem generating fingerprintIBitFingerprint getBitFingerprint(IAtomContainer container) throws CDKException
IAtomContainer
.container
- IAtomContainer
for which the fingerprint should be calculated.CDKException
- may be thrown if there is an error during aromaticity detection
or (for key based fingerprints) if there is a SMARTS parsing errorUnsupportedOperationException
- if the Fingerprinter can not produce bit fingerprintsICountFingerprint getCountFingerprint(IAtomContainer container) throws CDKException
IAtomContainer
.container
- IAtomContainer
for which the fingerprint should be calculated.CDKException
- if there is an error during aromaticity detection
or (for key based fingerprints) if there is a SMARTS parsing error.UnsupportedOperationException
- if the Fingerprinter can not produce count fingerprintsMap<String,Integer> getRawFingerprint(IAtomContainer container) throws CDKException
container
- IAtomContainer for which the fingerprint should be calculated.CDKException
int getSize()
Copyright © 2021. All rights reserved.