| 64 |
|
/** Adds a pair into this Exclude class */ |
| 65 |
|
void addPair(int i, int j); |
| 66 |
|
|
| 67 |
+ |
void addPairs(std::set<int>& set1, std::set<int>& set2); |
| 68 |
+ |
template<typename IterType1, typename IterType2> |
| 69 |
+ |
void addPairs(IterType1 iter1_first, IterType1 iter1_last, IterType2 iter2_first, IterType2 iter2_last); |
| 70 |
+ |
|
| 71 |
|
/** Remove a pair from Exclude class */ |
| 72 |
|
void removePair(int i, int j); |
| 73 |
|
|
| 74 |
+ |
void removePairs(std::set<int>& set1, std::set<int>& set2); |
| 75 |
+ |
template<typename IterType1, typename IterType2> |
| 76 |
+ |
void removePairs(IterType1 iter1_first, IterType1 iter1_last, IterType2 iter2_first, IterType2 iter2_last); |
| 77 |
+ |
|
| 78 |
|
/** Checks whether pair (i, j) is in this Exclude class */ |
| 79 |
|
bool hasPair(int i, int j); |
| 80 |
|
|