#include <labeled-index.h>
This is a pair of two integers: the index, which will usually refer to an image, and a label which refers to its class.
Public Member Functions | |
| bool | operator< (const LabeledIndex &other) const |
| Compares the index only. | |
| bool | operator== (const LabeledIndex &other) const |
| Checks both the label and the index. | |
Public Attributes | |
| int | label |
| int | index |
| bool operator< | ( | const LabeledIndex & | other | ) | const |
Compares the index only.
| bool operator== | ( | const LabeledIndex & | other | ) | const |
Checks both the label and the index.
| int label |
| int index |
1.5.1