00001 // Copyright 2007, Massachusetts Institute of Technology. 00002 // The use of this code is permitted for research only. There is 00003 // absolutely no warranty for this software. 00004 // 00005 // Author: John Lee (jjl@mit.edu) 00006 // 00007 00008 #ifndef UTIL_LABELED_INDEX_H 00009 #define UTIL_LABELED_INDEX_H 00010 00011 namespace libpmk { 00013 00018 class LabeledIndex { 00019 public: 00020 int label; 00021 int index; 00022 00024 bool operator<(const LabeledIndex& other) const; 00025 00027 bool operator==(const LabeledIndex& other) const; 00028 }; 00029 } // namespace libpmk 00030 00031 #endif // UTIL_LABELED_INDEX_H