| 
 | Terrier IR Platform 2.2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.gla.terrier.matching.models.basicmodel.BasicModel
uk.ac.gla.terrier.matching.models.basicmodel.In_exp
public class In_exp
This class implements the In_exp basic model for randomness.
| Constructor Summary | |
|---|---|
| In_exp()A default constructor. | |
| Method Summary | |
|---|---|
|  java.lang.String | getInfo()Returns the name of the model. | 
|  double | score(double tf,
      double documentFrequency,
      double termFrequency,
      double keyFrequency,
      double documentLength)This method computes the score for the implemented weighting model. | 
| Methods inherited from class uk.ac.gla.terrier.matching.models.basicmodel.BasicModel | 
|---|
| setNumberOfDocuments, setNumberOfTokens, stirlingPower | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public In_exp()
| Method Detail | 
|---|
public java.lang.String getInfo()
getInfo in class BasicModel
public double score(double tf,
                    double documentFrequency,
                    double termFrequency,
                    double keyFrequency,
                    double documentLength)
score in class BasicModeltf - The term frequency in the documentdocumentFrequency - The document frequency of the termtermFrequency - the term frequency in the collectiondocumentLength - The length of the document.keyFrequency - The normalised query term frequency.
| 
 | Terrier IR Platform 2.2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||