|
|||||||||
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.AfterEffect.NoAfterEffect
public static final class AfterEffect.NoAfterEffect
Implementation used when there is no aftereffect.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.lucene.search.similarities.AfterEffect |
---|
AfterEffect.NoAfterEffect |
Constructor Summary | |
---|---|
AfterEffect.NoAfterEffect()
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 AfterEffect.NoAfterEffect()
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 |