27 |
|
void removePair(int i, int j); |
28 |
|
|
29 |
|
/** Checks whether pair (i, j) is in this Exclude class */ |
30 |
< |
bool hasPair(int i, int j) { |
31 |
< |
return findPair(i, j) != excludeSet_.end(); |
32 |
< |
} |
30 |
> |
bool hasPair(int i, int j); |
31 |
|
|
32 |
|
/** Returns the number of exclusion pair */ |
33 |
|
int getSize(); |
43 |
|
|
44 |
|
private: |
45 |
|
|
48 |
– |
std::set<std::pair<int, int> >::iterator findPair(int i, int j); |
49 |
– |
|
46 |
|
std::set < std::pair<int, int> > excludeSet_; |
47 |
< |
std::vector < std::pair<int, int> > excludeList_; |
47 |
> |
std::vector <int> excludeList_; |
48 |
|
bool modified_; |
49 |
|
}; |
50 |
|
|