![]() |
GSLAM
3.0.0
|
Base class of scoring functions. More...
Public Member Functions | |
| virtual double | score (const BowVector &v, const BowVector &w) const =0 |
| Computes the score between two vectors. More... | |
| virtual bool | mustNormalize (Vocabulary::LNorm &norm) const =0 |
| Returns whether a vector must be normalized before scoring according to the scoring scheme. More... | |
| virtual | ~GeneralScoring () |
| Required for virtual base classes. | |
Static Public Member Functions | |
| static const double | LOG_EPS () |
Base class of scoring functions.
|
pure virtual |
Computes the score between two vectors.
Vectors must be sorted and normalized if necessary
| v | (in/out) |
| w | (in/out) |
|
pure virtual |
Returns whether a vector must be normalized before scoring according to the scoring scheme.
| norm | norm to use |
1.8.11