Class AfterEffect.NoAfterEffect
java.lang.Object
org.apache.lucene.search.similarities.AfterEffect
org.apache.lucene.search.similarities.AfterEffect.NoAfterEffect
- Enclosing class:
- AfterEffect
Implementation used when there is no aftereffect.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.lucene.search.similarities.AfterEffectAfterEffect.NoAfterEffect
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal Explanationexplain(BasicStats stats, float tfn) Returns an explanation for the score.final floatscore(BasicStats stats, float tfn) Returns the aftereffect score.toString()Subclasses must override this method to return the code of the after effect formula.
- 
Constructor Details- 
NoAfterEffectpublic NoAfterEffect()Sole constructor: parameter-free
 
- 
- 
Method Details- 
scoreDescription copied from class:AfterEffectReturns the aftereffect score.- Specified by:
- scorein class- AfterEffect
 
- 
explainDescription copied from class:AfterEffectReturns an explanation for the score.- Specified by:
- explainin class- AfterEffect
 
- 
toStringDescription 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
 
 
-