Package org.openscience.cdk.fingerprint
Class GraphOnlyFingerprinter
java.lang.Object
org.openscience.cdk.fingerprint.AbstractFingerprinter
org.openscience.cdk.fingerprint.Fingerprinter
org.openscience.cdk.fingerprint.GraphOnlyFingerprinter
- All Implemented Interfaces:
IFingerprinter
Specialized version of the
Fingerprinter which does not take bond orders
into account.- Author:
- egonw
- See Also:
- Keywords:
- fingerprint, similarity
- Created on:
- 2007-01-11
-
Field Summary
Fields inherited from class org.openscience.cdk.fingerprint.Fingerprinter
DEFAULT_SEARCH_DEPTH, DEFAULT_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a fingerprint generator of lengthdefaultSizeand with a search depth ofdefaultSearchDepth.GraphOnlyFingerprinter(int size) GraphOnlyFingerprinter(int size, int searchDepth) -
Method Summary
Modifier and TypeMethodDescriptiongetBitFingerprint(IAtomContainer container, int size) protected StringgetBondSymbol(IBond bond) Gets the bondSymbol attribute of the Fingerprinter class.Methods inherited from class org.openscience.cdk.fingerprint.Fingerprinter
encodePaths, findPathes, getBitFingerprint, getBitFingerprint, getCountFingerprint, getParameters, getRawFingerprint, getSearchDepth, getSize, setHashExplicitHydrogens, setHashPseudoAtoms, setPathLimitMethods inherited from class org.openscience.cdk.fingerprint.AbstractFingerprinter
getFingerprint, getVersionDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openscience.cdk.fingerprint.IFingerprinter
getFingerprint, getVersionDescription
-
Constructor Details
-
GraphOnlyFingerprinter
public GraphOnlyFingerprinter()Creates a fingerprint generator of lengthdefaultSizeand with a search depth ofdefaultSearchDepth. -
GraphOnlyFingerprinter
public GraphOnlyFingerprinter(int size) -
GraphOnlyFingerprinter
public GraphOnlyFingerprinter(int size, int searchDepth)
-
-
Method Details
-
getBondSymbol
Gets the bondSymbol attribute of the Fingerprinter class. Because we do not consider bond orders to be important, we just return "";- Overrides:
getBondSymbolin classFingerprinter- Parameters:
bond- Description of the Parameter- Returns:
- The bondSymbol value
-
getBitFingerprint
- Throws:
Exception
-