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.- WARNING: This API is experimental and might change in incompatible ways in the next release.
 
- 
- 
Constructor SummaryConstructors Constructor Description AfterEffectL()Sole constructor: parameter-free
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Explanationexplain(BasicStats stats, double tfn)Returns an explanation for the score.doublescoreTimes1pTfn(BasicStats stats)Returns the product of the after effect with1+tfn.StringtoString()Subclasses must override this method to return the code of the after effect formula.
 
- 
- 
- 
Method Detail- 
scoreTimes1pTfnpublic final double scoreTimes1pTfn(BasicStats stats) Description copied from class:AfterEffectReturns the product of the after effect with1+tfn. This may not depend on the value oftfn.- Specified by:
- scoreTimes1pTfnin class- AfterEffect
 
 - 
explainpublic final Explanation explain(BasicStats stats, double tfn) Description copied from class:AfterEffectReturns an explanation for the score.- Specified by:
- explainin class- AfterEffect
 
 - 
toStringpublic 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 class- AfterEffect
 
 
- 
 
-