public class SignatureFingerprinter extends AbstractFingerprinter implements IFingerprinter
AtomSignature-based fingerprint.| Constructor and Description |
|---|
SignatureFingerprinter()
Initialize the fingerprinter with a default signature depth of 1.
|
SignatureFingerprinter(int depth)
Initialize the fingerprinter with a certain signature depth.
|
| Modifier and Type | Method and Description |
|---|---|
IBitFingerprint |
getBitFingerprint(IAtomContainer atomContainer)
Returns the bit fingerprint for the given
IAtomContainer. |
ICountFingerprint |
getCountFingerprint(IAtomContainer container)
Returns the count fingerprint for the given
IAtomContainer. |
protected List<Map.Entry<String,String>> |
getParameters()
Base classes should override this method to report the parameters they
are configured with.
|
Map<String,Integer> |
getRawFingerprint(IAtomContainer atomContainer)
Returns the raw representation of the fingerprint for the given IAtomContainer.
|
int |
getSize()
Returns the size (or length) of the fingerprint.
|
getFingerprint, getVersionDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFingerprint, getVersionDescriptionpublic SignatureFingerprinter()
public SignatureFingerprinter(int depth)
depth - The depth of the signatures to calculate.protected List<Map.Entry<String,String>> getParameters()
AbstractFingerprintergetParameters in class AbstractFingerprinterpublic IBitFingerprint getBitFingerprint(IAtomContainer atomContainer) throws CDKException
IFingerprinterIAtomContainer.getBitFingerprint in interface IFingerprinteratomContainer - 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 errorpublic Map<String,Integer> getRawFingerprint(IAtomContainer atomContainer) throws CDKException
IFingerprintergetRawFingerprint in interface IFingerprinteratomContainer - IAtomContainer for which the fingerprint should be calculated.CDKExceptionpublic int getSize()
IFingerprintergetSize in interface IFingerprinterpublic ICountFingerprint getCountFingerprint(IAtomContainer container) throws CDKException
IFingerprinterIAtomContainer.getCountFingerprint in interface IFingerprintercontainer - 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.Copyright © 2021. All rights reserved.