org.galagosearch.core.retrieval.structured
Class ScoringFunctionIterator
java.lang.Object
org.galagosearch.core.retrieval.structured.ScoringFunctionIterator
- All Implemented Interfaces:
- ScoreIterator, StructuredIterator
- Direct Known Subclasses:
- DirichletScorer
public abstract class ScoringFunctionIterator
- 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 |
ScoringFunctionIterator
public ScoringFunctionIterator(CountIterator iterator)
scoreCount
public abstract double scoreCount(int count,
int length)
score
public double score(int document,
int length)
- Specified by:
score 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
nextCandidate
public int nextCandidate()
- Specified by:
nextCandidate in interface ScoreIterator
isDone
public boolean isDone()
- Specified by:
isDone in interface ScoreIterator
hasMatch
public boolean hasMatch(int document)
- Specified by:
hasMatch 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.