|
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.Lib.Count2fOperator
public class Count2fOperator
This class provides Count2f Scores Vector operations
History:
Constructor Summary | |
---|---|
Count2fOperator()
Create the Count2f operator object. |
Method Summary | |
---|---|
static java.util.Vector<Count2f> |
Add(java.util.Vector<Count2f> vec1,
java.util.Vector<Count2f> vec2,
JournalDescriptors jds)
Operation add for two JD Vectors in Count2f. |
static java.util.Vector<Count2f> |
Add(java.util.Vector<Count2f> vec1,
java.util.Vector<Count2f> vec2,
SemanticTypes sts)
Operation add for two ST Vectors in Count2f. |
static Count2f |
GetCosCoefficientObj(java.util.Vector<Count2f> vec1,
java.util.Vector<Count2f> vec2)
Get the cosine coefficients for two Vector in Count2f. |
static java.util.Vector<Count2f> |
Standardize(java.util.Vector<Count2f> inVec,
JournalDescriptors jds)
Standardize the Count2f Vector by rearrnging the vector in index order and fill 0 in empty elements. |
static java.util.Vector<Count2f> |
Standardize(java.util.Vector<Count2f> inVec,
SemanticTypes sts)
Standardize the order of ST scores. |
static java.util.Vector<Count1f> |
ToCount1(java.util.Vector<Count2f> inVec,
int countNo)
Convert a Vector in Count2f to a Vector in Count1f by retrieving specified scores field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Count2fOperator()
Method Detail |
---|
public static java.util.Vector<Count1f> ToCount1(java.util.Vector<Count2f> inVec, int countNo)
inVec
- Vector in Count2f to be convertedcountNo
- field to be retrieved, BY_COUNT1|BY_COUNT2
public static java.util.Vector<Count2f> Add(java.util.Vector<Count2f> vec1, java.util.Vector<Count2f> vec2, SemanticTypes sts)
vec1
- the first vector to be addedvec2
- the second vector to be addedsts
- Semantic Types Object
public static java.util.Vector<Count2f> Add(java.util.Vector<Count2f> vec1, java.util.Vector<Count2f> vec2, JournalDescriptors jds)
vec1
- the first vector to be addedvec2
- the second vector to be addedjds
- Journal Descriptos Object
public static Count2f GetCosCoefficientObj(java.util.Vector<Count2f> vec1, java.util.Vector<Count2f> vec2)
vec1
- input Vector 1 for cosine coefficientsvec2
- input Vector 2 for cosine coefficients
public static java.util.Vector<Count2f> Standardize(java.util.Vector<Count2f> inVec, SemanticTypes sts)
inVec
- Vector of ST scores to be standardizedsts
- Semantic Types Object
public static java.util.Vector<Count2f> Standardize(java.util.Vector<Count2f> inVec, JournalDescriptors jds)
inVec
- Vector in Count2f to be standardizedjds
- Journal Descriptor Object
|
TC Java 2011 Version |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |