Class AfterEffect
java.lang.Object
org.apache.lucene.search.similarities.AfterEffect
- Direct Known Subclasses:
AfterEffect.NoAfterEffect,AfterEffectB,AfterEffectL
This class acts as the base class for the implementations of the first
normalization of the informative content in the DFR framework. This
component is also called the after effect and is defined by the
formula Inf2 = 1 - Prob2, where
Prob2 measures the information gain.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classImplementation used when there is no aftereffect. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Explanationexplain(BasicStats stats, float tfn) Returns an explanation for the score.abstract floatscore(BasicStats stats, float tfn) Returns the aftereffect score.abstract StringtoString()Subclasses must override this method to return the code of the after effect formula.
-
Constructor Details
-
AfterEffect
public AfterEffect()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details