edu.arsc.multisearch.merge
Class LeapOfFaithMergeSet

java.lang.Object
  extended by edu.arsc.multisearch.merge.FinalSet
      extended by edu.arsc.multisearch.merge.LeapOfFaithMergeSet

public class LeapOfFaithMergeSet
extends FinalSet


Field Summary
 
Fields inherited from class edu.arsc.multisearch.merge.FinalSet
rankedList, results
 
Constructor Summary
LeapOfFaithMergeSet()
          Creates a new NaiveMergeSet to allow merging of Documents
 
Method Summary
 LeapOfFaithMergeSet getInstance()
          Allows for reflection.
 java.lang.String getMergeAlgorithm()
          A function that returns the class name of this algorithm.
 void merge(DocumentWritable[] hits)
          A merge object based on the Naive Merge Algorithm.
 
Methods inherited from class edu.arsc.multisearch.merge.FinalSet
getList, getResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeapOfFaithMergeSet

public LeapOfFaithMergeSet()
Creates a new NaiveMergeSet to allow merging of Documents

Method Detail

getInstance

public LeapOfFaithMergeSet getInstance()
Allows for reflection.

Overrides:
getInstance in class FinalSet
Returns:
LeapOfFaithMergeSet

merge

public void merge(DocumentWritable[] hits)
A merge object based on the Naive Merge Algorithm.

Overrides:
merge in class FinalSet
Parameters:
DocumentWritable[] - hits the documents to be folded into the finalset

getMergeAlgorithm

public java.lang.String getMergeAlgorithm()
A function that returns the class name of this algorithm.

Overrides:
getMergeAlgorithm in class FinalSet
Returns:
String className