public class Similarity extends Object
| Constructor and Description |
|---|
Similarity() |
| Modifier and Type | Method and Description |
|---|---|
static double |
calculateSimilarity(BitSet helmBitFingerprintI,
BitSet helmBitFingerprintJ)
Method calculates the similarity (tanimoto coefficient) of two bitset fingerprints.
|
static double |
calculateSimilarity(org.helm.notation2.parser.notation.HELM2Notation notation1,
org.helm.notation2.parser.notation.HELM2Notation notation2)
Method calculates the similarity (tanimoto coefficient) of two HELM notations
|
static double |
calculateSimilarityNatAnalogs(org.helm.notation2.parser.notation.HELM2Notation notation1,
org.helm.notation2.parser.notation.HELM2Notation notation2)
Method calculates the similarity (tanimoto coefficient) of two HELM notations and takes
the natural analogs of modified monomers into account.
|
public static double calculateSimilarity(org.helm.notation2.parser.notation.HELM2Notation notation1,
org.helm.notation2.parser.notation.HELM2Notation notation2)
throws Exception
notation1 - the first HELM notationnotation2 - the second HELM notationException - if anything goes wrongpublic static double calculateSimilarityNatAnalogs(org.helm.notation2.parser.notation.HELM2Notation notation1,
org.helm.notation2.parser.notation.HELM2Notation notation2)
throws Exception
notation1 - the first HELM notationnotation2 - the second HELM notationException - if anything goes wrongpublic static double calculateSimilarity(BitSet helmBitFingerprintI, BitSet helmBitFingerprintJ)
helmBitFingerprintI - the first bit set fingerprinthelmBitFingerprintJ - the second bit set fingerprintCopyright © 2018. All rights reserved.