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

Comparing branches/new_design/OOPSE-3.0/src/brains/Exclude.hpp (file contents):
Revision 1855 by tim, Tue Nov 30 19:58:25 2004 UTC vs.
Revision 1856 by tim, Mon Dec 6 04:49:53 2004 UTC

# Line 27 | Line 27 | namespace oopse {
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();
# Line 45 | Line 43 | namespace oopse {
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines