org.galagosearch.core.retrieval.structured
Class ScoreCombinationIterator

java.lang.Object
  extended by org.galagosearch.core.retrieval.structured.ScoreCombinationIterator
All Implemented Interfaces:
ScoreIterator, StructuredIterator
Direct Known Subclasses:
FilteredCombinationIterator, UnfilteredCombinationIterator

public abstract class ScoreCombinationIterator
extends java.lang.Object
implements ScoreIterator

Author:
trevor

Constructor Summary
ScoreCombinationIterator(org.galagosearch.tupleflow.Parameters parameters, ScoreIterator[] childIterators)
           
 
Method Summary
 void movePast(int document)
           
 void moveTo(int document)
           
 void reset()
           
 double score(int document, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.galagosearch.core.retrieval.structured.ScoreIterator
hasMatch, isDone, nextCandidate
 

Constructor Detail

ScoreCombinationIterator

public ScoreCombinationIterator(org.galagosearch.tupleflow.Parameters parameters,
                                ScoreIterator[] childIterators)
Method Detail

score

public double score(int document,
                    int length)
Specified by:
score in interface ScoreIterator

movePast

public void movePast(int document)
              throws java.io.IOException
Specified by:
movePast in interface ScoreIterator
Throws:
java.io.IOException

moveTo

public void moveTo(int document)
            throws java.io.IOException
Specified by:
moveTo in interface ScoreIterator
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Specified by:
reset in interface ScoreIterator
Specified by:
reset in interface StructuredIterator
Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.