org.galagosearch.core.scoring
Class DirichletScorer

java.lang.Object
  extended by org.galagosearch.core.retrieval.structured.ScoringFunctionIterator
      extended by org.galagosearch.core.scoring.DirichletScorer
All Implemented Interfaces:
ScoreIterator, StructuredIterator

@RequiredStatistics(statistics="collectionLength")
public class DirichletScorer
extends ScoringFunctionIterator

Author:
trevor

Constructor Summary
DirichletScorer(org.galagosearch.tupleflow.Parameters parameters, CountIterator iterator)
           
 
Method Summary
 double scoreCount(int count, int length)
           
 
Methods inherited from class org.galagosearch.core.retrieval.structured.ScoringFunctionIterator
hasMatch, isDone, movePast, moveTo, nextCandidate, reset, score
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirichletScorer

public DirichletScorer(org.galagosearch.tupleflow.Parameters parameters,
                       CountIterator iterator)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

scoreCount

public double scoreCount(int count,
                         int length)
Specified by:
scoreCount in class ScoringFunctionIterator


Copyright © 2009. All Rights Reserved.