|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.similarities.AfterEffect org.apache.lucene.search.similarities.AfterEffectL
public class AfterEffectL
Model of the information gain based on Laplace's law of succession.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.search.similarities.AfterEffect |
---|
AfterEffect.NoAfterEffect |
Constructor Summary | |
---|---|
AfterEffectL()
Sole constructor: parameter-free |
Method Summary | |
---|---|
Explanation |
explain(BasicStats stats,
float tfn)
Returns an explanation for the score. |
float |
score(BasicStats stats,
float tfn)
Returns the aftereffect score. |
String |
toString()
Subclasses must override this method to return the code of the after effect formula. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AfterEffectL()
Method Detail |
---|
public final float score(BasicStats stats, float tfn)
AfterEffect
score
in class AfterEffect
public final Explanation explain(BasicStats stats, float tfn)
AfterEffect
explain
in class AfterEffect
public String toString()
AfterEffect
toString
in class AfterEffect
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |