![]() |
AliceVision
Photogrammetric Computer Vision Framework
|
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} |
Struct representing a single database match.
score is in the range [0,2], where 0 is best and 2 is worst.
1.8.17