Class Distribution
java.lang.Object
org.apache.lucene.search.similarities.Distribution
- Direct Known Subclasses:
DistributionLL
,DistributionSPL
The probabilistic distribution used to model term occurrence in information-based models.
- See Also:
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexplain
(BasicStats stats, double tfn, double lambda) Explains the score.abstract double
score
(BasicStats stats, double tfn, double lambda) Computes the score.abstract String
toString()
Subclasses must override this method to return the name of the distribution.
-
Constructor Details
-
Distribution
public Distribution()Sole constructor. (For invocation by subclass constructors, typically implicit.)
-
-
Method Details