Base class of scoring functions.
More...
#include <ScoringObject.h>
|
static const double | LOG_EPS = log(DBL_EPSILON) |
| Log of epsilon. More...
|
|
Base class of scoring functions.
Definition at line 18 of file ScoringObject.h.
virtual DBoW2::GeneralScoring::~GeneralScoring |
( |
| ) |
|
|
inlinevirtual |
virtual bool DBoW2::GeneralScoring::mustNormalize |
( |
LNorm & |
norm | ) |
const |
|
pure virtual |
Returns whether a vector must be normalized before scoring according to the scoring scheme
- Parameters
-
- Returns
- true iff must normalize
virtual double DBoW2::GeneralScoring::score |
( |
const BowVector & |
v, |
|
|
const BowVector & |
w |
|
) |
| const |
|
pure virtual |
Computes the score between two vectors. Vectors must be sorted and normalized if necessary
- Parameters
-
- Returns
- score
const double GeneralScoring::LOG_EPS = log(DBL_EPSILON) |
|
static |
The documentation for this class was generated from the following files: