Public Member Functions | Static Public Attributes | List of all members
DBoW2::GeneralScoring Class Referenceabstract

Base class of scoring functions. More...

#include <ScoringObject.h>

Public Member Functions

virtual bool mustNormalize (LNorm &norm) const =0
 
virtual double score (const BowVector &v, const BowVector &w) const =0
 
virtual ~GeneralScoring ()
 Required for virtual base classes. More...
 

Static Public Attributes

static const double LOG_EPS = log(DBL_EPSILON)
 Log of epsilon. More...
 

Detailed Description

Base class of scoring functions.

Definition at line 18 of file ScoringObject.h.

Constructor & Destructor Documentation

virtual DBoW2::GeneralScoring::~GeneralScoring ( )
inlinevirtual

Required for virtual base classes.

Definition at line 43 of file ScoringObject.h.

Member Function Documentation

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
normnorm to use
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
v(in/out)
w(in/out)
Returns
score

Member Data Documentation

const double GeneralScoring::LOG_EPS = log(DBL_EPSILON)
static

Log of epsilon.

Definition at line 39 of file ScoringObject.h.


The documentation for this class was generated from the following files:


orb_slam2_ros
Author(s):
autogenerated on Wed Apr 21 2021 02:53:05