|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.search.similarities.AfterEffect
org.apache.lucene.search.similarities.AfterEffectB
public class AfterEffectB
Model of the information gain based on the ratio of two Bernoulli processes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.search.similarities.AfterEffect |
---|
AfterEffect.NoAfterEffect |
Constructor Summary | |
---|---|
AfterEffectB()
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 AfterEffectB()
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 |