Class AfterEffectL
Model of the information gain based on Laplace's law of succession.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public class AfterEffectL : AfterEffect
Constructors
AfterEffectL()
Sole constructor: parameter-free
Declaration
public AfterEffectL()
Methods
Explain(BasicStats, float)
Returns an explanation for the score.
Declaration
public override sealed Explanation Explain(BasicStats stats, float tfn)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
float | tfn |
Returns
Type | Description |
---|---|
Explanation |
Overrides
Score(BasicStats, float)
Returns the aftereffect score.
Declaration
public override sealed float Score(BasicStats stats, float tfn)
Parameters
Type | Name | Description |
---|---|---|
BasicStats | stats | |
float | tfn |
Returns
Type | Description |
---|---|
float |
Overrides
ToString()
Subclasses must override this method to return the code of the after effect formula. Refer to the original paper for the list.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |