org.openscience.cdk.similarity
Class LingoSimilarity

java.lang.Object
  extended by org.openscience.cdk.similarity.LingoSimilarity

@TestClass(value="org.openscience.cdk.similarity.LingoTest")
public class LingoSimilarity
extends Object

A class to evaluate the similarity between two LINGO's as described in [Vidal, D. and Thormann, M. and Pons, M., LINGO, an Efficient Holographic Text Based Method To Calculate Biophysical Properties and Intermolecular Similarities, J. Chem. Inf. Model., 2005, 45:386-393]. The similarity calculation is a variant of the Tanimoto coefficient and hence its value ranges from 0 to 1

Author:
Rajarshi Guha
Keywords:
lingo, similarity, tanimoto
Belongs to CDK module:
fingerprint
Source code:
cdk-1.4.x

Method Summary
static float calculate(Map<String,Integer> features1, Map<String,Integer> features2)
          Evaluate the LINGO similarity between two key,value sty;e fingerprints.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculate

@TestMethod(value="testLingoSim")
public static float calculate(Map<String,Integer> features1,
                                              Map<String,Integer> features2)
Evaluate the LINGO similarity between two key,value sty;e fingerprints. The value will range from 0.0 to 1.0.

Parameters:
features1 -
features2 -
Returns: