LabeledIndex Class Reference

#include <labeled-index.h>

List of all members.


Detailed Description

An index-label pair.

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


Member Function Documentation

bool operator< ( const LabeledIndex other  )  const

Compares the index only.

bool operator== ( const LabeledIndex other  )  const

Checks both the label and the index.


Member Data Documentation

int label

int index


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 11:39:05 2007 for libpmk2 by  doxygen 1.5.1