|
||||||||||
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.StructuredCombinator
The StructuredCombinator
Fields inherited from class java.util.Vector |
capacityIncrement,
elementCount,
elementData,
serialVersionUID |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
StructuredCombinator()
|
|
StructuredCombinator(DeString combName,
int imuIndexA,
double imuWeightA,
int imuIndexB,
double imuWeightB)
Create and set structured combinator. |
|
StructuredCombinator(DeString combName,
StructuredCombinator scmb,
double scmbWeight,
int imuIndex,
double imuWeight)
Create and set combinator structure. |
|
StructuredCombinator(int size)
Create a structured combinator. |
|
StructuredCombinator(java.lang.String function,
int numberOfModalities,
double[] normalizedWeights)
Create and set combinator structure. |
Method Summary | |
void |
present(int i,
IndexingModalities im)
display current structured combinator to standard output. |
void |
presentBrief(int i)
print structured combinator with indexes instead of imus. |
void |
presentBrief(java.util.Vector v,
int i)
print structured combinator, v, with indexes instead of imus. |
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 StructuredCombinator()
public StructuredCombinator(int size)
size
- number of objects to be held by the structured combinator.public StructuredCombinator(DeString combName, int imuIndexA, double imuWeightA, int imuIndexB, double imuWeightB)
combName
- which scoring function to apply.imuIndexA
- index of an IndexingModalityUnit in IndexingModalitiesimuWeightA
- weight of index of IndexingModalityUnit AimuIndexB
- index of an IndexingModalityUnit in IndexingModalitiesimuWeightB
- weight of index of IndexingModalityUnit Bpublic StructuredCombinator(DeString combName, StructuredCombinator scmb, double scmbWeight, int imuIndex, double imuWeight)
combName
- which scoring function to apply.scmb
- StructuredCombinator to be included in this combinator.scmbWeight
- weight to be applied to scmbimuIndex
- index of an IndexingModalityUnit in IndexingModalitiesimuWeight
- weight to be applied IndexingModalityUnit at imuIndexpublic StructuredCombinator(java.lang.String function, int numberOfModalities, double[] normalizedWeights)
function
- which scoring function to apply.numberOfModalities
- number of IndexingModalities.normalized
- weights used in scoringMethod 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 indentationpublic void presentBrief(java.util.Vector v, int i)
v
- a structured combinatori
- width in characters of indentation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |