Classes | Namespaces | Macros | Functions
ScoringObject.h File Reference
#include "BowVector.h"
Include dependency graph for ScoringObject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DBoW2::GeneralScoring
 Base class of scoring functions. More...
 

Namespaces

 DBoW2
 

Macros

#define __SCORING_CLASS(NAME, MUSTNORMALIZE, NORM)
 

Functions

class DBoW2::__SCORING_CLASS (L1Scoring, true, L1)
 L1 Scoring object. More...
 
class DBoW2::__SCORING_CLASS (DotProductScoring, false, L1)
 Dot product Scoring object. More...
 
class DBoW2::__SCORING_CLASS (BhattacharyyaScoring, true, L1)
 Bhattacharyya Scoring object. More...
 
class DBoW2::__SCORING_CLASS (KLScoring, true, L1)
 KL divergence Scoring object. More...
 
class DBoW2::__SCORING_CLASS (ChiSquareScoring, true, L1)
 Chi square Scoring object. More...
 
class DBoW2::__SCORING_CLASS (L2Scoring, true, L2)
 L2 Scoring object. More...
 

Macro Definition Documentation

#define __SCORING_CLASS (   NAME,
  MUSTNORMALIZE,
  NORM 
)
Value:
NAME: public GeneralScoring \
{ public: \ \
virtual double score(const BowVector &v, const BowVector &w) const; \
\ \
virtual inline bool mustNormalize(LNorm &norm) const \
{ norm = NORM; return MUSTNORMALIZE; } \
}
LNorm
L-norms for normalization.
Definition: BowVector.h:29
string NAME

Macro for defining Scoring classes

Parameters
NAMEname of class
MUSTNORMALIZEif vectors must be normalized to compute the score
NORMtype of norm to use when MUSTNORMALIZE

Definition at line 53 of file ScoringObject.h.



orb_slam2_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47