Albert
|
#include <rankitem.h>
Scored item Used to rank item results of mutliple handlers.
Public Member Functions | |
RankItem (std::shared_ptr< Item > item, float score) | |
Public Attributes | |
std::shared_ptr< Item > | item |
The matched item. More... | |
float | score |
The match score. Must be in the range (0,1]. Not checked for performance. More... | |
|
explicit |
item | The matched item. |
score | The match score. Must be in the range (0,1]. Not checked for performance. |
std::shared_ptr<Item> albert::RankItem::item |
The matched item.
float albert::RankItem::score |
The match score. Must be in the range (0,1]. Not checked for performance.