|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.nih.nlm.nls.tc.Api.SimilarityApi
public class SimilarityApi
This class provides APIs for calculate similarity value for JD vectors and ST vectors.
History:
Constructor Summary | |
---|---|
SimilarityApi()
Creates an SimilarityApi object. |
Method Summary | |
---|---|
static float |
GetSimilarity(java.util.Vector<Count1f> vec1,
java.util.Vector<Count1f> vec2,
JournalDescriptors jds)
Get similarity in float for two JD vectors. |
static float |
GetSimilarity(java.util.Vector<Count1f> vec1,
java.util.Vector<Count1f> vec2,
SemanticTypes sts)
Get similarity in float for two ST vectors. |
static Count2f |
GetSimilarity(java.util.Vector<Count2f> vec1,
java.util.Vector<Count2f> vec2,
SemanticTypes sts)
Get similarity in float for two ST vectors. |
static Count1f |
GetSimilarityObj(java.util.Vector<Count1f> vec1,
java.util.Vector<Count1f> vec2,
JournalDescriptors jds)
Get similarity in float for two JD vectors. |
static Count1f |
GetSimilarityObj(java.util.Vector<Count1f> vec1,
java.util.Vector<Count1f> vec2,
SemanticTypes sts)
Get similarity in float for two ST vectors. |
static Count2f |
GetSimilarityObj(java.util.Vector<Count2f> vec1,
java.util.Vector<Count2f> vec2,
JournalDescriptors jds)
Get similarity in float for two JD vectors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimilarityApi()
Method Detail |
---|
public static Count1f GetSimilarityObj(java.util.Vector<Count1f> vec1, java.util.Vector<Count1f> vec2, JournalDescriptors jds)
vec1
- input JD vector 1vec2
- input JD Vector 2jds
- common JD list
public static Count1f GetSimilarityObj(java.util.Vector<Count1f> vec1, java.util.Vector<Count1f> vec2, SemanticTypes sts)
vec1
- input ST vector 1vec2
- input ST Vector 2sts
- common ST list
public static float GetSimilarity(java.util.Vector<Count1f> vec1, java.util.Vector<Count1f> vec2, JournalDescriptors jds)
vec1
- input JD vector 1vec2
- input JD Vector 2jds
- common JD list
public static float GetSimilarity(java.util.Vector<Count1f> vec1, java.util.Vector<Count1f> vec2, SemanticTypes sts)
vec1
- input ST vector 1vec2
- input ST Vector 2sts
- common ST list
public static Count2f GetSimilarityObj(java.util.Vector<Count2f> vec1, java.util.Vector<Count2f> vec2, JournalDescriptors jds)
vec1
- input JD vector 1vec2
- input JD Vector 2jds
- common JD list
public static Count2f GetSimilarity(java.util.Vector<Count2f> vec1, java.util.Vector<Count2f> vec2, SemanticTypes sts)
vec1
- input ST vector 1vec2
- input ST Vector 2sts
- common ST list
|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |