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,
double tfn,
double lambda)
Explains the score.
|
abstract double |
score(BasicStats stats,
double tfn,
double 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 double score(BasicStats stats, double tfn, double lambda)
public Explanation explain(BasicStats stats, double tfn, double lambda)
tfn
and lambda
are explained elsewhere.public abstract java.lang.String toString()
toString
in class java.lang.Object