public class Fingerprinter extends Object
| Constructor and Description |
|---|
Fingerprinter() |
| Modifier and Type | Method and Description |
|---|---|
static BitSet |
calculateFingerprint(org.helm.notation2.parser.notation.HELM2Notation notation)
Calculates the fingerprint for a given HELM notation by enumerating all of the monomer paths and representing
each path as one bit in the fingerprint of size 1024.
|
static BitSet |
calculateFingerprintNaturalAnalogs(org.helm.notation2.parser.notation.HELM2Notation notation)
Calculates a combined fingerprint for a given HELM notation by enumerating all of the original monomer paths and
all of the monomer paths converted into natural analogs and representing each path as one bit in the fingerprint
of size 1024.
|
static BitSet |
getHashedFingerprint(Set<String> totalPaths) |
public static BitSet calculateFingerprint(org.helm.notation2.parser.notation.HELM2Notation notation) throws Exception
notation - Input HELM notation that is translated into a bitSet fingerprintException - if anything goes wrongpublic static BitSet calculateFingerprintNaturalAnalogs(org.helm.notation2.parser.notation.HELM2Notation notation) throws Exception
notation - Input HELM notation that is translated into a bitSet fingerprintException - if anything goes wrongpublic static BitSet getHashedFingerprint(Set<String> totalPaths) throws NoSuchAlgorithmException
totalPaths - Set of paths based on the monomers of a HELM notationNoSuchAlgorithmException - if anything goes wrongCopyright © 2018. All rights reserved.