public class LingoFingerprinter extends AbstractFingerprinter implements IFingerprinter
While the current implementation converts ring closure symbols to 0's it does not convert 2-letter element symbols to single letters (ala OpenEye).
| Constructor and Description |
|---|
LingoFingerprinter()
Initialize the fingerprinter with a default substring length of 4.
|
LingoFingerprinter(int n)
Initialize the fingerprinter.
|
| Modifier and Type | Method and Description |
|---|---|
IBitFingerprint |
getBitFingerprint(IAtomContainer iAtomContainer)
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 LingoFingerprinter()
public LingoFingerprinter(int n)
n - The length of substrings to considerprotected List<Map.Entry<String,String>> getParameters()
AbstractFingerprintergetParameters in class AbstractFingerprinterpublic IBitFingerprint getBitFingerprint(IAtomContainer iAtomContainer) throws CDKException
IFingerprinterIAtomContainer.getBitFingerprint in interface IFingerprinteriAtomContainer - 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.