|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.arsc.multisearch.merge.FinalSet
edu.arsc.multisearch.merge.NaiveMergeSet
public class NaiveMergeSet
Field Summary |
---|
Fields inherited from class edu.arsc.multisearch.merge.FinalSet |
---|
rankedList, results |
Constructor Summary | |
---|---|
NaiveMergeSet()
|
Method Summary | |
---|---|
DocumentWritable[] |
fromNeg(DocumentWritable[] hits)
Takes negatively ranked documents and ranks them with positive numbers |
java.lang.String |
getMergeAlgorithm()
A function that returns the class name of this algorithm. |
void |
merge(DocumentWritable[] hits)
This function takes in a result set, rescores each result and then adds it to the final ranked list at the end. |
Methods inherited from class edu.arsc.multisearch.merge.FinalSet |
---|
getInstance, getList, getResults |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NaiveMergeSet()
Method Detail |
---|
public void merge(DocumentWritable[] hits)
merge
in class FinalSet
DocumentWritable[]
- public DocumentWritable[] fromNeg(DocumentWritable[] hits)
DocumentWritable[]
-
public java.lang.String getMergeAlgorithm()
getMergeAlgorithm
in class FinalSet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |