public abstract class AfterEffect extends Object implements Serializable, Cloneable
DFRWeightingModel, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
| protected double | avlThe average document length in collection. | 
| protected double | parameterThe term frequency normalisation parameter used for method L5 | 
| Constructor and Description | 
|---|
| AfterEffect()A default constructor | 
| Modifier and Type | Method and Description | 
|---|---|
| AfterEffect | clone()Clone this weighting model | 
| abstract double | gain(double tf,
    double documentFrequency,
    double termFrequency)This method provides the contract for implementing first normalisation
 by after effect. | 
| abstract String | getInfo()Returns the name of the model. | 
| double | getParameter() | 
| void | setAverageDocumentLength(double value)Set the average document length, which is used for computing the
 prior for the first normalisation. | 
| void | setParameter(double _parameter) | 
protected double avl
protected double parameter
public AfterEffect clone()
public void setAverageDocumentLength(double value)
value - The average document length.public double getParameter()
public void setParameter(double _parameter)
_parameter - the term frequency normalisation parameter value to setpublic abstract String getInfo()
public abstract double gain(double tf,
          double documentFrequency,
          double termFrequency)
tf - The term frequency in the documentdocumentFrequency - The document frequency of the given query termtermFrequency - The frequency of the given term in the whole collection.Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow