Class AtomPairs2DFingerprinter
java.lang.Object
org.openscience.cdk.fingerprint.AbstractFingerprinter
org.openscience.cdk.fingerprint.AtomPairs2DFingerprinter
- All Implemented Interfaces:
IFingerprinter
Generates an atom pair 2D fingerprint as implemented in PaDEL given an
IAtomContainer, that
extends the Fingerprinter.- Author:
- Lyle Burgoon (lyle.d.burgoon@usace.army.mil)
- See Also:
- Keywords:
- fingerprint, similarity
- Created on:
- 2018-02-05
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBitFingerprint(IAtomContainer container) Returns the bit fingerprint for the givenIAtomContainer.Returns the count fingerprint for the givenIAtomContainer.Returns the raw representation of the fingerprint for the given IAtomContainer.intgetSize()Returns the size (or length) of the fingerprint.Methods inherited from class AbstractFingerprinter
getFingerprint, getParameters, getVersionDescriptionModifier and TypeMethodDescriptionGenerate a binary fingerprint as a bit.Base classes should override this method to report the parameters they are configured with.final StringGenerate a fingerprint type version description in chemfp's FPS format.
-
Constructor Details
-
AtomPairs2DFingerprinter
public AtomPairs2DFingerprinter()
-
-
Method Details
-
getSize
public int getSize()Description copied from interface:IFingerprinterReturns the size (or length) of the fingerprint.- Specified by:
getSizein interfaceIFingerprinter- Returns:
- the size of the fingerprint
-
getBitFingerprint
Description copied from interface:IFingerprinterReturns the bit fingerprint for the givenIAtomContainer.- Specified by:
getBitFingerprintin interfaceIFingerprinter- Parameters:
container-IAtomContainerfor which the fingerprint should be calculated.- Returns:
- the bit fingerprint
- Throws:
CDKException- may be thrown if there is an error during aromaticity detection or (for key based fingerprints) if there is a SMARTS parsing error
-
getRawFingerprint
Description copied from interface:IFingerprinterReturns the raw representation of the fingerprint for the given IAtomContainer. The raw representation contains counts as well as the key strings.- Specified by:
getRawFingerprintin interfaceIFingerprinter- Parameters:
mol- IAtomContainer for which the fingerprint should be calculated.- Returns:
- the raw fingerprint
- Throws:
CDKException
-
getCountFingerprint
Description copied from interface:IFingerprinterReturns the count fingerprint for the givenIAtomContainer.- Specified by:
getCountFingerprintin interfaceIFingerprinter- Parameters:
mol-IAtomContainerfor which the fingerprint should be calculated.- Returns:
- the count fingerprint
- Throws:
CDKException- if there is an error during aromaticity detection or (for key based fingerprints) if there is a SMARTS parsing error.
-