ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/brains/Exclude.hpp
(Generate patch)

Comparing trunk/OOPSE-2.0/src/brains/Exclude.hpp (file contents):
Revision 2447 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2448 by tim, Wed Nov 16 23:10:02 2005 UTC

# Line 64 | Line 64 | namespace oopse {
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines