Class AfterEffectL
- java.lang.Object
 - 
- org.apache.lucene.search.similarities.AfterEffect
 - 
- org.apache.lucene.search.similarities.AfterEffectL
 
 
 
- 
public class AfterEffectL extends AfterEffect
Model of the information gain based on Laplace's law of succession. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.apache.lucene.search.similarities.AfterEffect
AfterEffect.NoAfterEffect 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AfterEffectL()Sole constructor: parameter-free 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Explanationexplain(BasicStats stats, float tfn)Returns an explanation for the score.floatscore(BasicStats stats, float tfn)Returns the aftereffect score.java.lang.StringtoString()Subclasses must override this method to return the code of the after effect formula. 
 - 
 
- 
- 
Method Detail
- 
score
public final float score(BasicStats stats, float tfn)
Description copied from class:AfterEffectReturns the aftereffect score.- Specified by:
 scorein classAfterEffect
 
- 
explain
public final Explanation explain(BasicStats stats, float tfn)
Description copied from class:AfterEffectReturns an explanation for the score.- Specified by:
 explainin classAfterEffect
 
- 
toString
public java.lang.String toString()
Description copied from class:AfterEffectSubclasses must override this method to return the code of the after effect formula. Refer to the original paper for the list.- Specified by:
 toStringin classAfterEffect
 
 - 
 
 -