AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | Public Attributes | List of all members
aliceVision::voctree::DocMatch Struct Reference

Struct representing a single database match. More...

#include <Database.hpp>

Public Member Functions

 DocMatch (DocId _id, float _score)
 
bool operator< (const DocMatch &other) const
 Allows sorting DocMatches in best-to-worst order with std::sort.
 
bool operator== (const DocMatch &other) const
 
bool operator!= (const DocMatch &other) const
 

Public Attributes

DocId id {UndefinedIndexT}
 
float score {0.0f}
 

Detailed Description

Struct representing a single database match.

score is in the range [0,2], where 0 is best and 2 is worst.


The documentation for this struct was generated from the following file: