1 // This is oxl/mvl/PairMatchSetMulti.h 2 #ifndef PairMatchSetMulti_h_ 3 #define PairMatchSetMulti_h_ 4 //: 5 // \file 6 // \brief Multimap of ints 7 // 8 // PairMatchSetMulti is a list of tuples (i1, i2) which allows 9 // efficient O(log n) indexing by I1, and O(n) by i2. 10 // 11 // \author 12 // Andrew W. Fitzgibbon, Oxford RRG, 16 Sep 96 13 // 14 //----------------------------------------------------------------------------- 15 16 class PairMatchSetMulti 17 { 18 public: 19 // Constructors/Destructors-------------------------------------------------- 20 21 PairMatchSetMulti(); 22 PairMatchSetMulti(const PairMatchSetMulti& that); 23 ~PairMatchSetMulti(); 24 25 PairMatchSetMulti& operator=(const PairMatchSetMulti& that); 26 27 // Operations---------------------------------------------------------------- 28 void add_match(int i1, int i2); 29 }; 30 31 #endif // PairMatchSetMulti_h_ 32