|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--gov.nist.nlpir.irf.query.Combinator
|
+--gov.nist.nlpir.irf.query.LinearCombinator
The Linear Combinator
| Fields inherited from class java.util.Vector |
capacityIncrement,
elementCount,
elementData,
serialVersionUID |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
LinearCombinator()
|
|
LinearCombinator(int size)
Create a linear combinator. |
|
LinearCombinator(int numberOfModalities,
double[] normalizedWeights)
Create and set linear combinator. |
|
| Method Summary | |
void |
present(int i,
IndexingModalities im)
display current linear combinator to standard output. |
void |
presentBrief(int i)
display current linear combinator using indexes instead of imus to standard output. |
void |
presentBrief(java.util.Vector v,
int i)
display the linear combinator, v, using indexes instead of imus to standard output. |
| Methods inherited from class gov.nist.nlpir.irf.query.Combinator |
presentCombinatorIMU,
printSpaces |
| Methods inherited from class java.util.Vector |
add,
add,
addAll,
addAll,
addElement,
capacity,
clear,
clone,
contains,
containsAll,
copyInto,
elementAt,
elements,
ensureCapacity,
ensureCapacityHelper,
equals,
firstElement,
get,
hashCode,
indexOf,
indexOf,
insertElementAt,
isEmpty,
lastElement,
lastIndexOf,
lastIndexOf,
remove,
remove,
removeAll,
removeAllElements,
removeElement,
removeElementAt,
removeRange,
retainAll,
set,
setElementAt,
setSize,
size,
subList,
toArray,
toArray,
toString,
trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator,
listIterator,
listIterator |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public LinearCombinator()
public LinearCombinator(int size)
size - number of objects to be held by the linear combinator.
public LinearCombinator(int numberOfModalities,
double[] normalizedWeights)
im - current indexing modalitiesnormalized - weights used in scoring| Method Detail |
public void present(int i,
IndexingModalities im)
i - width in characters of indentationim - current indexing modalitiespublic void presentBrief(int i)
i - width in characters of indentation
public void presentBrief(java.util.Vector v,
int i)
v - a linear combinatori - width in characters of indentation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||