Recommend label actions is meant to suggest a label to the users. Suppressing this call after a user ignores the recommended label should be done through the supported actions on the execution state.
More...
#include <mip/upe/recommend_label_action.h>
Recommend label actions is meant to suggest a label to the users. Suppressing this call after a user ignores the recommended label should be done through the supported actions on the execution state.
◆ ~RecommendLabelAction()
| virtual RecommendLabelAction::~RecommendLabelAction |
( |
| ) |
|
|
inlinevirtual |
◆ RecommendLabelAction()
| RecommendLabelAction::RecommendLabelAction |
( |
const std::string & | id | ) |
|
|
inlineprotected |
◆ GetClassificationIds()
| virtual const std::vector< std::string > & RecommendLabelAction::GetClassificationIds |
( |
| ) |
const |
|
pure virtual |
Get the Classification IDs that matched and caused this label to appear.
- Returns
- const std::vector<std::string>& a list of classification IDs that caused this label to appear.
◆ GetLabel()
| virtual const std::shared_ptr< Label > & RecommendLabelAction::GetLabel |
( |
| ) |
const |
|
pure virtual |
Get the label suggested.
- Returns
- the label.
The documentation for this class was generated from the following file:
- src/api/mip/upe/recommend_label_action.h