org.galagosearch.core.retrieval.structured
Class ScaleIterator
java.lang.Object
org.galagosearch.core.retrieval.structured.ScaleIterator
- All Implemented Interfaces:
- ScoreIterator, StructuredIterator
public class ScaleIterator
- extends java.lang.Object
- implements ScoreIterator
- Author:
- trevor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaleIterator
public ScaleIterator(org.galagosearch.tupleflow.Parameters parameters,
ScoreIterator iterator)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
nextCandidate
public int nextCandidate()
- Specified by:
nextCandidate in interface ScoreIterator
hasMatch
public boolean hasMatch(int document)
- Specified by:
hasMatch in interface ScoreIterator
moveTo
public void moveTo(int document)
throws java.io.IOException
- Specified by:
moveTo in interface ScoreIterator
- Throws:
java.io.IOException
movePast
public void movePast(int document)
throws java.io.IOException
- Specified by:
movePast in interface ScoreIterator
- Throws:
java.io.IOException
score
public double score(int document,
int length)
- Specified by:
score in interface ScoreIterator
isDone
public boolean isDone()
- Specified by:
isDone in interface ScoreIterator
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.