|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.sss.screen.Similarity
public class Similarity
Calculates the similarity of two bit strings.
| Constructor Summary | |
|---|---|
Similarity(byte[] bitstring1,
byte[] bitstring2)
Deprecated. |
|
| Method Summary | |
|---|---|
static double |
getTanimoto(byte[] bitstring1,
byte[] bitstring2)
Calculates the Tanimoto coefficient of the two bit strings. |
static double |
getTanimoto(byte[] bitstring1,
byte[] bitstring2,
int bytesToCompare)
Calculates the Tanimoto coefficient of the two bit strings. |
static double |
getTanimoto(int[] bitstring1,
int[] bitstring2,
int intsToCompare)
Calculates the Tanimoto coefficient of the two bit strings. |
double |
Tanimoto()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Similarity(byte[] bitstring1,
byte[] bitstring2)
| Method Detail |
|---|
public double Tanimoto()
public static double getTanimoto(byte[] bitstring1,
byte[] bitstring2)
public static double getTanimoto(byte[] bitstring1,
byte[] bitstring2,
int bytesToCompare)
bytesToCompare - the number of bytes to use in the calculcation.
public static double getTanimoto(int[] bitstring1,
int[] bitstring2,
int intsToCompare)
intsToCompare - the number of bytes to use in the calculcation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||