Class AfterEffect.NoAfterEffect
Implementation used when there is no aftereffect.
Inherited Members
Namespace: Lucene.Net.Search.Similarities
Assembly: Lucene.Net.dll
Syntax
public sealed class AfterEffect.NoAfterEffect : AfterEffect
Constructors
NoAfterEffect()
Sole constructor: parameter-free
Declaration
public NoAfterEffect()
Methods
Explain(BasicStats, float)
Returns an explanation for the score.
Declaration
public override 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 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 |