--- trunk/OOPSE-2.0/src/brains/Exclude.hpp 2005/04/15 22:04:00 2204 +++ trunk/OOPSE-2.0/src/brains/Exclude.hpp 2005/11/16 23:10:02 2448 @@ -64,9 +64,17 @@ namespace oopse { /** Adds a pair into this Exclude class */ void addPair(int i, int j); + void addPairs(std::set& set1, std::set& set2); + template + void addPairs(IterType1 iter1_first, IterType1 iter1_last, IterType2 iter2_first, IterType2 iter2_last); + /** Remove a pair from Exclude class */ void removePair(int i, int j); + void removePairs(std::set& set1, std::set& set2); + template + void removePairs(IterType1 iter1_first, IterType1 iter1_last, IterType2 iter2_first, IterType2 iter2_last); + /** Checks whether pair (i, j) is in this Exclude class */ bool hasPair(int i, int j);