public abstract class Distribution
extends java.lang.Object
IBSimilarity
Constructor and Description |
---|
Distribution()
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
Explanation |
explain(BasicStats stats,
float tfn,
float lambda)
Explains the score.
|
abstract float |
score(BasicStats stats,
float tfn,
float lambda)
Computes the score.
|
abstract java.lang.String |
toString()
Subclasses must override this method to return the name of the
distribution.
|
public Distribution()
public abstract float score(BasicStats stats, float tfn, float lambda)
public Explanation explain(BasicStats stats, float tfn, float lambda)
tfn
and lambda
are explained elsewhere.public abstract java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.